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.
Copyrights © 2025