Comperative analasys of JavaScript runtime environments
Article Sidebar
Open full text
Issue Vol. 36 (2025)
-
Classification of cyber attacks in IoMT networks using deep learning: a comparative study
Asif Rahman Rumee232-242
-
Assessing the memorability and usability of the Gutenberg Editor Interface in the Drupal CMS
Paweł Iwon, Marek Miłosz243-250
-
Analysis of the directions of development of digital aesthetics on the example of Windows interfaces
Maksymilian Cegiełka, Marek Miłosz251-257
-
Analysis of the effectiveness of the portal integrating various tender platforms
Adrian Krzysztof Jedynak, Marek Miłosz258-261
-
Review and assessment of the quality of applications related to diet man-agement using the Mobile App Rating Scale (MARS)
Kamil Lewartowski, Marek Miłosz262-265
-
Comparison of the accessibility of websites of voivodeship cities in Poland
Dawid Drzewiecki, Marek Miłosz266-270
-
Study of factors affecting the performance of web applications on mobile devices
Jarosław Królikowski, Marek Miłosz271-277
-
The impact of changing graphic settings on performance in selected video games
Łukasz Stanik, Marek Miłosz278-283
-
Analysis of the use of Angular and Svelte products in mobile web applications
Michał Nurzyński, Marcin Badurowicz284-288
-
Comparative analysis of web and mobile interfaces of popular sales portals
Kacper Dudek, Marek Miłosz289-295
-
Comperative analasys of JavaScript runtime environments
Konrad Kalman, Marek Miłosz296-302
-
Image classification using PyTorch and Core ML
Jakub Ślusarski, Arkadiusz Szumny, Maria Skublewska-Paszkowska303-311
-
Analysis of ergonomics and security of email software
Marceli Szarapajew, Tomasz Szymczyk312-319
-
Comparative analysis of Cypress and Playwright frameworks in end-to-end testing for applications based on Angular
Przemysław Gosik, Marek Miłosz320-327
-
Password managers: a critical review of security, usability, and innovative designs
Hussein Abdulkhaleq Saleh328-335
-
Benchmarking the performance of Python web frameworks
Bartłomiej Bednarz, Marek Miłosz336-341
-
Comparison of chosen image classification methods on Android
Mariusz Zapalski, Patryk Żabczyński, Paweł Powroźnik342-349
-
Performance evaluation of REST and GraphQL API aproaches in data retrieval scenarios using NestJS
Kacper Stępień, Maria Skublewska-Paszkowska350-356
-
Comparative analysis of cross-platform application development tools in terms of operating system integration
Rafał Milichiewicz, Marcin Badurowicz357-364
-
Comparative analysis of selected mobile applications for language learning
Jakub Furtak, Emilia Drabik365-370
Main Article Content
DOI
Authors
Abstract
This article presents a comparative analysis of two JavaScript runtime environments: Node.js, the industry leader since 2009, and Bun, a newer and promising alternative introduced in 2022. The study evaluates their performance in two distinct experimental scenarios: handling HTTP requests and executing a computationally intensive algorithm for calculating Fibonacci numbers. These scenarios allow for the assessment of both I/O-bound and CPU-bound workloads. Benchmarking tools were used to measure the most important metrics, including total request handling time, average latency, and peak memory usage. By analyzing architectural differences and runtime optimizations, the article highlights the advantages and trade-offs of both environments. The findings offer developers valuable insights for selecting an appropriate platform for high-performance and scalable server-side applications, and contribute to the ongoing discussion on the evolution of JavaScript runtimes.
Keywords:
References
[1] V8 Engine documentation, https://v8.dev/, [02.01.2025].
[2] R. Dahl, 10 Things I Regret About Node.js, In JSConf EU (2018) Berlin.
[3] JavaScriptCore Engine documentation, https://developer.apple.com/documentation/javascriptcore, [02.01.2025].
[4] Bun documentation, https://bun.sh/docs, [02.01.2025].
[5] I. Kniazev, A. Fitiskin, Choosing The Right Javascript Runtime: An In-Depth Comparison Of Node.Js And Bun, Norwegian Journal of Development of the International Science 108 (2023) 72–84, https://doi.org/10.5281/zenodo.7945166.
[6] S. Wortham, Performance Benchmarking: Bun vs. C# vs. Go vs. Node.js vs. Python, https://www.wwt.com/blog/performance-benchmarking-bun-vs-c-vs-go-vs-nodejs-vs-python, [02.01.2025].
[7] K. Carmo, F. Ferreira, E. Figueiredo, Performance Evaluation of Back-End Frameworks: A Comparative Study, Proceedings of the 20th Brazilian Symposium on Information Systems 43 (2024) 1–9, https://doi.org/10.1145/3658271.3658314. DOI: https://doi.org/10.1145/3658271.3658314
[8] I. Hernandez, Bun vs. Node: Harder, Better, Faster, Stronger?, https://www.dreamhost.com/blog/bun-vs-node/, [08.01.2025].
[9] F. Ahmod, JavaScript Runtime Performance Analysis: Node and Bun, Master’s thesis, Faculty of Information Technology and Communication Sciences, 2023.
[10] K. Kowalczyk, M. Plechawska-Wójcik, AngularJS and ReactJS libraries - performance analysis, Journal of Computer Sciences Institute 2 (2016) 114–119, https://doi.org/10.35784/jcsi.126. DOI: https://doi.org/10.35784/jcsi.126
[11] M. Grudniak, M. Dzieńkowski, REST API performance comparison of web applications based on JavaScript programming frameworks, Journal of Computer Sciences Institute 19 (2021) 121–125, https://doi.org/10.35784/jcsi.2620. DOI: https://doi.org/10.35784/jcsi.2620
[12] Node.js documentation, https://nodejs.org/docs/latest-v22.x/api/, [11.01.2025].
[13] Bombardier documentation, https://github.com/codesenberg/bombardier, [02.01.2025].
[14] Hyperfine documentation, https://github.com/sharkdp/hyperfine, [02.01.2025].
[15] Process Explorer documentation, https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer, [02.01.2025].
[16] D. Herron, Node. js Web Development: Server-side web development made easy with Node 14 using practical examples, Packt Publishing Ltd, 2020.
Article Details
Abstract views: 199

