Comperative analasys of JavaScript runtime environments

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 execut...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:Journal of Computer Sciences Institute Ročník 36; s. 296 - 302
Hlavní autoři: Kalman, Konrad, Miłosz, Marek
Médium: Journal Article
Jazyk:angličtina
Vydáno: Lublin University of Technology 30.09.2025
Témata:
ISSN:2544-0764, 2544-0764
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Popis
Shrnutí: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.
ISSN:2544-0764
2544-0764
DOI:10.35784/jcsi.7512