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 11, 2025
1 parent 935b311 commit 9e90914
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:__ Tue Jan 07 2025 18:17:33 GMT+0000 (Coordinated Universal Time)
* __Run:__ Sat Jan 11 2025 13:31:30 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 |
| :-- | --: | --: | :-: | --: | --: |
| bare | v20.18.1 | | 47505.6 | 20.56 | 8.47 |
| fastify | 5.2.1 | | 47457.6 | 20.54 | 8.51 |
| connect | 3.7.0 || 46638.4 | 20.92 | 8.32 |
| server-base | 7.1.32 | | 46487.2 | 21.01 | 8.29 |
| polka | 0.5.2 || 45995.2 | 21.21 | 8.20 |
| 0http | 3.5.3 | | 45887.2 | 21.30 | 8.18 |
| polkadot | 1.0.0 || 45440.0 | 21.51 | 8.10 |
| micro | 10.0.1 || 45371.2 | 21.54 | 8.09 |
| server-base-router | 7.1.32 || 45262.4 | 21.59 | 8.07 |
| rayo | 1.4.6 || 45208.0 | 21.62 | 8.06 |
| connect-router | 1.3.8 || 43345.6 | 22.57 | 7.73 |
| micro-route | 2.5.0 || 42446.4 | 23.04 | 7.57 |
| adonisjs | 7.4.0 || 42275.2 | 23.14 | 7.54 |
| h3 | 1.13.0 | | 42138.4 | 23.23 | 7.52 |
| h3-router | 1.13.0 | | 41460.8 | 23.62 | 7.39 |
| hono | 4.6.16 || 41042.4 | 23.84 | 6.73 |
| koa | 2.15.3 | | 38153.8 | 25.69 | 6.80 |
| restana | 4.9.9 | | 37280.8 | 26.33 | 6.65 |
| take-five | 2.0.0 || 35293.4 | 27.84 | 12.69 |
| koa-isomorphic-router | 1.0.1 || 34839.2 | 28.22 | 6.21 |
| restify | 11.1.0 || 34405.2 | 28.56 | 6.20 |
| koa-router | 13.1.0 || 33732.6 | 29.15 | 6.02 |
| hapi | 21.3.12 || 32320.6 | 30.43 | 5.76 |
| microrouter | 3.1.3 || 30394.4 | 32.40 | 5.42 |
| fastify-big-json | 5.2.1 || 11910.8 | 83.38 | 137.04 |
| express | 5.0.1 || 10076.3 | 98.66 | 1.80 |
| express-with-middlewares | 5.0.1 || 9419.9 | 105.54 | 3.50 |
| 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 |
| 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":"bare","version":"v20.18.1","requests":"47505.6","latency":"20.56","throughput":"8.47"},{"name":"fastify","version":"5.2.1","hasRouter":true,"requests":"47457.6","latency":"20.54","throughput":"8.51"},{"name":"connect","version":"3.7.0","requests":"46638.4","latency":"20.92","throughput":"8.32"},{"name":"server-base","version":"7.1.32","requests":"46487.2","latency":"21.01","throughput":"8.29"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45995.2","latency":"21.21","throughput":"8.20"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"45887.2","latency":"21.30","throughput":"8.18"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45440.0","latency":"21.51","throughput":"8.10"},{"name":"micro","version":"10.0.1","requests":"45371.2","latency":"21.54","throughput":"8.09"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45262.4","latency":"21.59","throughput":"8.07"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45208.0","latency":"21.62","throughput":"8.06"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43345.6","latency":"22.57","throughput":"7.73"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42446.4","latency":"23.04","throughput":"7.57"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"42275.2","latency":"23.14","throughput":"7.54"},{"name":"h3","version":"1.13.0","requests":"42138.4","latency":"23.23","throughput":"7.52"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41460.8","latency":"23.62","throughput":"7.39"},{"name":"hono","version":"4.6.16","hasRouter":true,"requests":"41042.4","latency":"23.84","throughput":"6.73"},{"name":"koa","version":"2.15.3","requests":"38153.8","latency":"25.69","throughput":"6.80"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"37280.8","latency":"26.33","throughput":"6.65"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35293.4","latency":"27.84","throughput":"12.69"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34839.2","latency":"28.22","throughput":"6.21"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34405.2","latency":"28.56","throughput":"6.20"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33732.6","latency":"29.15","throughput":"6.02"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"32320.6","latency":"30.43","throughput":"5.76"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30394.4","latency":"32.40","throughput":"5.42"},{"name":"fastify-big-json","version":"5.2.1","hasRouter":true,"requests":"11910.8","latency":"83.38","throughput":"137.04"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10076.3","latency":"98.66","throughput":"1.80"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9419.9","latency":"105.54","throughput":"3.50"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"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"}]

0 comments on commit 9e90914

Please sign in to comment.