Comparative Analysis of Express and Hono Framework Performance in Simple Registration Application
This research evaluates the performance of two Node.js frameworks, Express and Hono, in developing a simple registration application. This application serves as a backend to store user registration data into a PostgreSQL database using the pg client of the node package manager (npm). The purpose of this performance comparison is to identify the framework that is superior in executing 1 million requests in this scenario. The analysis shows that Express has an average execution time of 26.85% faster than Hono. However, it is inversely proportional to the resource usage, where Hono shows better efficiency with lower CPU and memory usage of 29.29% and 19.97%. These findings provide important insights for developers in choosing a suitable framework based on performance and resource efficiency requirements.
Authors
- Mega Novita (ORCID: https://orcid.org/0000-0002-7230-2492)
- Anjar Tiyo Saputro
Institutions
- Universitas PGRI Semarang (ID)
Publication Details
- Journal
- SinkrOn
- Published
- 2025-01-28
- DOI
- https://doi.org/10.33395/sinkron.v9i1.14333
- Primary Topic
- Mobile Agent-Based Network Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Centre for Supercomputing Applications