Skip to content

Commit

Permalink
chore: update benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Jan 13, 2025
1 parent 9e90914 commit f58fae8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,36 +69,36 @@ node ./benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.18.1`
* __Run:__ Sat Jan 11 2025 13:31:30 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Jan 13 2025 01:53:18 GMT+0000 (Coordinated Universal Time)
* __Method:__ `autocannon -c 100 -d 40 -p 10 localhost:3000` (two rounds; one to warm-up, one to measure)

| | Version | Router | Requests/s | Latency (ms) | Throughput/Mb |
| :-- | --: | --: | :-: | --: | --: |
| fastify | 5.2.1 | | 46991.2 | 20.78 | 8.43 |
| bare | v20.18.1 | | 46834.4 | 20.85 | 8.35 |
| connect | 3.7.0 | | 46359.2 | 21.06 | 8.27 |
| polka | 0.5.2 | | 46032.0 | 21.20 | 8.21 |
| rayo | 1.4.6 | | 45105.6 | 21.68 | 8.04 |
| polkadot | 1.0.0 | | 44745.6 | 21.87 | 7.98 |
| server-base | 7.1.32 | | 44397.6 | 22.05 | 7.92 |
| micro | 10.0.1 | | 44179.2 | 22.13 | 7.88 |
| server-base-router | 7.1.32 | | 43948.8 | 22.27 | 7.84 |
| 0http | 4.0.0 | | 43751.2 | 22.36 | 7.80 |
| connect-router | 1.3.8 | | 42617.6 | 22.95 | 7.60 |
| micro-route | 2.5.0 || 42045.6 | 23.29 | 7.50 |
| adonisjs | 7.4.0 || 41540.8 | 23.58 | 7.41 |
| h3-router | 1.13.1 || 41230.4 | 23.76 | 7.35 |
| h3 | 1.13.1 | | 40237.6 | 24.35 | 7.18 |
| hono | 4.6.16 || 39778.4 | 24.63 | 6.52 |
| restana | v5.0.0 || 38633.4 | 25.39 | 6.89 |
| koa | 2.15.3 || 36743.0 | 26.71 | 6.55 |
| koa-isomorphic-router | 1.0.1 || 35285.0 | 27.85 | 6.29 |
| take-five | 2.0.0 || 35116.6 | 27.96 | 12.63 |
| restify | 11.1.0 || 33890.0 | 29.02 | 6.11 |
| koa-router | 13.1.0 || 33511.6 | 29.34 | 5.98 |
| hapi | 21.3.12 || 31606.0 | 31.14 | 5.64 |
| microrouter | 3.1.3 || 30383.6 | 32.41 | 5.42 |
| fastify-big-json | 5.2.1 || 11871.2 | 83.68 | 136.58 |
| express | 5.0.1 || 9827.6 | 101.17 | 1.75 |
| express-with-middlewares | 5.0.1 || 9401.6 | 105.74 | 3.50 |
| bare | v20.18.1 | | 47420.0 | 20.58 | 8.46 |
| 0http | 4.0.0 | | 46117.6 | 21.19 | 8.22 |
| fastify | 5.2.1 | | 45984.8 | 21.23 | 8.24 |
| server-base | 7.1.32 | | 45684.8 | 21.41 | 8.15 |
| connect | 3.7.0 | | 45491.2 | 21.50 | 8.11 |
| polka | 0.5.2 | | 45457.6 | 21.51 | 8.11 |
| rayo | 1.4.6 | | 45204.0 | 21.64 | 8.06 |
| server-base-router | 7.1.32 | | 44508.0 | 21.99 | 7.94 |
| polkadot | 1.0.0 | | 44252.0 | 22.10 | 7.89 |
| h3 | 1.13.1 | | 44087.2 | 22.19 | 7.86 |
| micro | 10.0.1 | | 43727.2 | 22.37 | 7.80 |
| h3-router | 1.13.1 || 43564.8 | 22.46 | 7.77 |
| connect-router | 1.3.8 || 43352.0 | 22.55 | 7.73 |
| micro-route | 2.5.0 || 41799.2 | 23.45 | 7.45 |
| adonisjs | 7.4.0 | | 41797.6 | 23.42 | 7.45 |
| restana | v5.0.0 || 40408.8 | 24.25 | 7.21 |
| hono | 4.6.16 || 39505.6 | 24.81 | 6.48 |
| koa | 2.15.3 || 36888.0 | 26.61 | 6.58 |
| koa-isomorphic-router | 1.0.1 || 35157.0 | 27.94 | 6.27 |
| take-five | 2.0.0 || 34837.4 | 28.20 | 12.53 |
| restify | 11.1.0 || 34787.0 | 28.24 | 6.27 |
| koa-router | 13.1.0 || 33293.4 | 29.53 | 5.94 |
| hapi | 21.3.12 || 32362.8 | 30.40 | 5.77 |
| microrouter | 3.1.3 || 29162.0 | 33.78 | 5.20 |
| fastify-big-json | 5.2.1 || 11812.0 | 84.10 | 135.90 |
| express | 5.0.1 || 10425.0 | 95.31 | 1.86 |
| express-with-middlewares | 5.0.1 || 9021.9 | 110.23 | 3.36 |
| trpc-router | 10.45.2 || N/A | N/A | N/A |
2 changes: 1 addition & 1 deletion benchmark-results.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"name":"fastify","version":"5.2.1","hasRouter":true,"requests":"46991.2","latency":"20.78","throughput":"8.43"},{"name":"bare","version":"v20.18.1","requests":"46834.4","latency":"20.85","throughput":"8.35"},{"name":"connect","version":"3.7.0","requests":"46359.2","latency":"21.06","throughput":"8.27"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46032.0","latency":"21.20","throughput":"8.21"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45105.6","latency":"21.68","throughput":"8.04"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44745.6","latency":"21.87","throughput":"7.98"},{"name":"server-base","version":"7.1.32","requests":"44397.6","latency":"22.05","throughput":"7.92"},{"name":"micro","version":"10.0.1","requests":"44179.2","latency":"22.13","throughput":"7.88"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"43948.8","latency":"22.27","throughput":"7.84"},{"name":"0http","version":"4.0.0","hasRouter":true,"requests":"43751.2","latency":"22.36","throughput":"7.80"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42617.6","latency":"22.95","throughput":"7.60"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42045.6","latency":"23.29","throughput":"7.50"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"41540.8","latency":"23.58","throughput":"7.41"},{"name":"h3-router","version":"1.13.1","hasRouter":true,"requests":"41230.4","latency":"23.76","throughput":"7.35"},{"name":"h3","version":"1.13.1","requests":"40237.6","latency":"24.35","throughput":"7.18"},{"name":"hono","version":"4.6.16","hasRouter":true,"requests":"39778.4","latency":"24.63","throughput":"6.52"},{"name":"restana","version":"v5.0.0","hasRouter":true,"requests":"38633.4","latency":"25.39","throughput":"6.89"},{"name":"koa","version":"2.15.3","requests":"36743.0","latency":"26.71","throughput":"6.55"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35285.0","latency":"27.85","throughput":"6.29"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35116.6","latency":"27.96","throughput":"12.63"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33890.0","latency":"29.02","throughput":"6.11"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33511.6","latency":"29.34","throughput":"5.98"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"31606.0","latency":"31.14","throughput":"5.64"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30383.6","latency":"32.41","throughput":"5.42"},{"name":"fastify-big-json","version":"5.2.1","hasRouter":true,"requests":"11871.2","latency":"83.68","throughput":"136.58"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"9827.6","latency":"101.17","throughput":"1.75"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9401.6","latency":"105.74","throughput":"3.50"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"v20.18.1","requests":"47420.0","latency":"20.58","throughput":"8.46"},{"name":"0http","version":"4.0.0","hasRouter":true,"requests":"46117.6","latency":"21.19","throughput":"8.22"},{"name":"fastify","version":"5.2.1","hasRouter":true,"requests":"45984.8","latency":"21.23","throughput":"8.24"},{"name":"server-base","version":"7.1.32","requests":"45684.8","latency":"21.41","throughput":"8.15"},{"name":"connect","version":"3.7.0","requests":"45491.2","latency":"21.50","throughput":"8.11"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45457.6","latency":"21.51","throughput":"8.11"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45204.0","latency":"21.64","throughput":"8.06"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44508.0","latency":"21.99","throughput":"7.94"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44252.0","latency":"22.10","throughput":"7.89"},{"name":"h3","version":"1.13.1","requests":"44087.2","latency":"22.19","throughput":"7.86"},{"name":"micro","version":"10.0.1","requests":"43727.2","latency":"22.37","throughput":"7.80"},{"name":"h3-router","version":"1.13.1","hasRouter":true,"requests":"43564.8","latency":"22.46","throughput":"7.77"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43352.0","latency":"22.55","throughput":"7.73"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"41799.2","latency":"23.45","throughput":"7.45"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"41797.6","latency":"23.42","throughput":"7.45"},{"name":"restana","version":"v5.0.0","hasRouter":true,"requests":"40408.8","latency":"24.25","throughput":"7.21"},{"name":"hono","version":"4.6.16","hasRouter":true,"requests":"39505.6","latency":"24.81","throughput":"6.48"},{"name":"koa","version":"2.15.3","requests":"36888.0","latency":"26.61","throughput":"6.58"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35157.0","latency":"27.94","throughput":"6.27"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34837.4","latency":"28.20","throughput":"12.53"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34787.0","latency":"28.24","throughput":"6.27"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33293.4","latency":"29.53","throughput":"5.94"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"32362.8","latency":"30.40","throughput":"5.77"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"29162.0","latency":"33.78","throughput":"5.20"},{"name":"fastify-big-json","version":"5.2.1","hasRouter":true,"requests":"11812.0","latency":"84.10","throughput":"135.90"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10425.0","latency":"95.31","throughput":"1.86"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9021.9","latency":"110.23","throughput":"3.36"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit f58fae8

Please sign in to comment.