Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkyberneees/es4x-vs-nodejs-benchmarks
Performance Benchmarks es4x vs 0http vs restana vs express
https://github.com/jkyberneees/es4x-vs-nodejs-benchmarks
Last synced: about 1 month ago
JSON representation
Performance Benchmarks es4x vs 0http vs restana vs express
- Host: GitHub
- URL: https://github.com/jkyberneees/es4x-vs-nodejs-benchmarks
- Owner: jkyberneees
- License: mit
- Created: 2019-07-14T08:43:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T22:20:35.000Z (about 2 years ago)
- Last Synced: 2024-10-12T13:38:34.061Z (2 months ago)
- Language: JavaScript
- Size: 222 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# es4x-vs-nodejs-benchmarks
Performance Benchmarks es4x vs 0http vs restana vs express
- Discussion details:
https://twitter.com/pml0pes/status/1150348604378427392## Basic GET /hi -> "Hello World!" test
We run the tests using:
> wrk -t8 -c20 -d30s http://127.0.0.1:3000/hi### Test Machine 1 (MacBook Pro (15-inch, 2016), CPU 2,7 GHz Intel Core i7, 16 GB 2133 MHz LPDDR3 )
> In this benchmark we are running the wrk and the services in the same machine.- Node.js raw HTTP server (no routing): Requests/sec: **108039.54**
- Node.js 0http: Requests/sec: 106864.40
- Node.js restana: Requests/sec: 102778.23
- Node.js express: Requests/sec: 91447.53
- Vertx ES4X (no routing): Requests/sec: 96748.54#### Comment on ES4X runtime
*ES4X is using graaljs in interpreted mode! Add the JVMCI compiler module in order to run in optimal mode!*#### (no routing)
The `no routing` flag means requests routing is not being used. More on Vertx ES4X will follow.## Resources
- Node.js https://nodejs.org/en/
- Vertx https://vertx.io/
- restana Framework https://www.npmjs.com/package/restana
- 0http Framework https://www.npmjs.com/package/0http
- express Framework https://expressjs.com/
- ES4X https://reactiverse.io/es4x/
- wrk2 https://github.com/giltene/wrk2