Comperative analasys of JavaScript runtime environments.
Saved in:
| Title: | Comperative analasys of JavaScript runtime environments. |
|---|---|
| Alternate Title: | Analiza porównawcza środowisk uruchomieniowych JavaScript. (Polish) |
| Authors: | Kalman, Konrad, Miłosz, Marek |
| Source: | Journal of Computer Sciences Institute; 2025, Vol. 36, p296-302, 7p |
| Subject Terms: | JAVASCRIPT programming language, RUN time systems (Computer science), INFORMATION technology, BENCHMARKING (Management), INTERNET servers |
| Abstract (English): | 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. [ABSTRACT FROM AUTHOR] |
| Abstract (Polish): | Artykuł przedstawia porównawczą analizę dwóch środowisk uruchomieniowych JavaScript: Node.js, lidera branży od 2009 roku, oraz Bun, nowszej i obiecującej alternatywy wprowadzonej w 2022 roku. W badaniu oceniono wydajność obu środowisk w dwóch odrębnych scenariuszach eksperymentalnych: podczas obsługi żądań HTTP oraz podczas wykonywania wymagającego obliczeniowo algorytmu obliczającego liczby ciągu Fibonacciego. Pozwoliło to na analizę zarówno zadań opartych na operacjach wejścia/wyjścia, jak i obciążeń procesora. W testach wykorzystano narzędzia benchmarkujące do pomiaru najważniejszych metryk jak, pomiar całkowitego czasu obsługi żądań HTTP, średniego opóźnienia, a także szczytowego zużycia pamięci. Na podstawie różnic architektonicznych i zastosowanych optymalizacji wydajności, artykuł ukazuje zalety i kompromisy obu technologii. Wyniki te mogą pomóc programistom w wyborze odpowiedniego środowiska do tworzenia skalowalnych i wydajnych aplikacji serwerowych oraz wzbogacają dyskusję na temat rozwoju środowisk uruchomieniowych JavaScript. [ABSTRACT FROM AUTHOR] |
| Copyright of Journal of Computer Sciences Institute is the property of Lublin University of Technology and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Complementary Index |
Be the first to leave a comment!
Nájsť tento článok vo Web of Science