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 Oct 7, 2024
1 parent 5cc418b commit cf2ad7f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,35 +46,35 @@ node ./benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.17.0`
* __Run:__ Mon Sep 30 2024 01:49:36 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Oct 07 2024 01:49: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.17.0 || 47945.6 | 20.36 | 8.55 |
| fastify | 5.0.0 || 46100.8 | 21.18 | 8.27 |
| polka | 0.5.2 || 46033.6 | 21.21 | 8.21 |
| connect | 3.7.0 || 45569.4 | 21.44 | 8.13 |
| server-base | 7.1.32 | | 45564.8 | 21.45 | 8.12 |
| rayo | 1.4.6 | | 45308.0 | 21.58 | 8.08 |
| server-base-router | 7.1.32 || 45208.0 | 21.63 | 8.06 |
| micro | 10.0.1 || 44620.8 | 21.91 | 7.96 |
| 0http | 3.5.3 | | 44395.2 | 22.03 | 7.92 |
| polkadot | 1.0.0 | | 44219.2 | 22.11 | 7.89 |
| connect-router | 1.3.8 || 43345.6 | 22.56 | 7.73 |
| micro-route | 2.5.0 || 42116.8 | 23.25 | 7.51 |
| h3 | 1.12.0 || 40780.8 | 24.02 | 7.27 |
| hono | 4.6.3 || 40492.8 | 24.19 | 7.22 |
| restana | 4.9.9 || 40243.2 | 24.34 | 7.18 |
| h3-router | 1.12.0 || 39540.0 | 24.80 | 7.05 |
| koa | 2.15.3 || 37335.2 | 26.28 | 6.66 |
| take-five | 2.0.0 || 35333.0 | 27.80 | 12.70 |
| restify | 11.1.0 || 34967.0 | 28.09 | 6.30 |
| koa-isomorphic-router | 1.0.1 || 34561.8 | 28.43 | 6.16 |
| koa-router | 12.0.1 || 34310.6 | 28.63 | 6.12 |
| hapi | 21.3.10 || 31561.0 | 31.18 | 5.63 |
| microrouter | 3.1.3 || 30209.2 | 32.59 | 5.39 |
| fastify-big-json | 5.0.0 || 11640.8 | 85.35 | 133.93 |
| express | 5.0.0 || 9944.8 | 99.92 | 1.77 |
| express-with-middlewares | 5.0.0 || 9047.5 | 109.92 | 3.36 |
| bare | v20.17.0 || 46448.8 | 21.02 | 8.28 |
| fastify | 5.0.0 || 45497.6 | 21.47 | 8.16 |
| polka | 0.5.2 || 45340.0 | 21.56 | 8.09 |
| server-base | 7.1.32 || 45147.2 | 21.67 | 8.05 |
| server-base-router | 7.1.32 | | 44916.0 | 21.78 | 8.01 |
| connect | 3.7.0 | | 44222.4 | 22.11 | 7.89 |
| 0http | 3.5.3 || 43778.4 | 22.35 | 7.81 |
| polkadot | 1.0.0 || 43240.0 | 22.63 | 7.71 |
| micro | 10.0.1 | | 43107.2 | 22.70 | 7.69 |
| rayo | 1.4.6 | | 42604.0 | 22.97 | 7.60 |
| connect-router | 1.3.8 || 42317.6 | 23.13 | 7.55 |
| micro-route | 2.5.0 || 41241.6 | 23.75 | 7.35 |
| h3 | 1.13.0 || 39692.0 | 24.70 | 7.08 |
| restana | 4.9.9 || 39293.6 | 24.95 | 7.01 |
| hono | 4.6.3 || 38809.6 | 25.27 | 6.92 |
| h3-router | 1.13.0 || 38130.4 | 25.73 | 6.80 |
| koa | 2.15.3 || 36351.4 | 27.00 | 6.48 |
| take-five | 2.0.0 || 34684.2 | 28.34 | 12.47 |
| restify | 11.1.0 || 34370.0 | 28.58 | 6.20 |
| koa-isomorphic-router | 1.0.1 || 33937.4 | 28.96 | 6.05 |
| koa-router | 12.0.1 || 32686.2 | 30.09 | 5.83 |
| hapi | 21.3.10 || 30553.6 | 32.22 | 5.45 |
| microrouter | 3.1.3 || 28810.8 | 34.20 | 5.14 |
| fastify-big-json | 5.0.0 || 11749.2 | 84.54 | 135.18 |
| express | 5.0.0 || 10001.0 | 99.37 | 1.78 |
| express-with-middlewares | 5.0.0 || 9097.3 | 109.30 | 3.38 |
| 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.17.0","requests":"47945.6","latency":"20.36","throughput":"8.55"},{"name":"fastify","version":"5.0.0","hasRouter":true,"requests":"46100.8","latency":"21.18","throughput":"8.27"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46033.6","latency":"21.21","throughput":"8.21"},{"name":"connect","version":"3.7.0","requests":"45569.4","latency":"21.44","throughput":"8.13"},{"name":"server-base","version":"7.1.32","requests":"45564.8","latency":"21.45","throughput":"8.12"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45308.0","latency":"21.58","throughput":"8.08"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45208.0","latency":"21.63","throughput":"8.06"},{"name":"micro","version":"10.0.1","requests":"44620.8","latency":"21.91","throughput":"7.96"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44395.2","latency":"22.03","throughput":"7.92"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44219.2","latency":"22.11","throughput":"7.89"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43345.6","latency":"22.56","throughput":"7.73"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42116.8","latency":"23.25","throughput":"7.51"},{"name":"h3","version":"1.12.0","requests":"40780.8","latency":"24.02","throughput":"7.27"},{"name":"hono","version":"4.6.3","hasRouter":true,"requests":"40492.8","latency":"24.19","throughput":"7.22"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"40243.2","latency":"24.34","throughput":"7.18"},{"name":"h3-router","version":"1.12.0","hasRouter":true,"requests":"39540.0","latency":"24.80","throughput":"7.05"},{"name":"koa","version":"2.15.3","requests":"37335.2","latency":"26.28","throughput":"6.66"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35333.0","latency":"27.80","throughput":"12.70"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34967.0","latency":"28.09","throughput":"6.30"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34561.8","latency":"28.43","throughput":"6.16"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"34310.6","latency":"28.63","throughput":"6.12"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"31561.0","latency":"31.18","throughput":"5.63"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30209.2","latency":"32.59","throughput":"5.39"},{"name":"fastify-big-json","version":"5.0.0","hasRouter":true,"requests":"11640.8","latency":"85.35","throughput":"133.93"},{"name":"express","version":"5.0.0","hasRouter":true,"requests":"9944.8","latency":"99.92","throughput":"1.77"},{"name":"express-with-middlewares","version":"5.0.0","hasRouter":true,"requests":"9047.5","latency":"109.92","throughput":"3.36"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"v20.17.0","requests":"46448.8","latency":"21.02","throughput":"8.28"},{"name":"fastify","version":"5.0.0","hasRouter":true,"requests":"45497.6","latency":"21.47","throughput":"8.16"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45340.0","latency":"21.56","throughput":"8.09"},{"name":"server-base","version":"7.1.32","requests":"45147.2","latency":"21.67","throughput":"8.05"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44916.0","latency":"21.78","throughput":"8.01"},{"name":"connect","version":"3.7.0","requests":"44222.4","latency":"22.11","throughput":"7.89"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"43778.4","latency":"22.35","throughput":"7.81"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"43240.0","latency":"22.63","throughput":"7.71"},{"name":"micro","version":"10.0.1","requests":"43107.2","latency":"22.70","throughput":"7.69"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"42604.0","latency":"22.97","throughput":"7.60"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42317.6","latency":"23.13","throughput":"7.55"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"41241.6","latency":"23.75","throughput":"7.35"},{"name":"h3","version":"1.13.0","requests":"39692.0","latency":"24.70","throughput":"7.08"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"39293.6","latency":"24.95","throughput":"7.01"},{"name":"hono","version":"4.6.3","hasRouter":true,"requests":"38809.6","latency":"25.27","throughput":"6.92"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"38130.4","latency":"25.73","throughput":"6.80"},{"name":"koa","version":"2.15.3","requests":"36351.4","latency":"27.00","throughput":"6.48"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34684.2","latency":"28.34","throughput":"12.47"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34370.0","latency":"28.58","throughput":"6.20"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33937.4","latency":"28.96","throughput":"6.05"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32686.2","latency":"30.09","throughput":"5.83"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"30553.6","latency":"32.22","throughput":"5.45"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"28810.8","latency":"34.20","throughput":"5.14"},{"name":"fastify-big-json","version":"5.0.0","hasRouter":true,"requests":"11749.2","latency":"84.54","throughput":"135.18"},{"name":"express","version":"5.0.0","hasRouter":true,"requests":"10001.0","latency":"99.37","throughput":"1.78"},{"name":"express-with-middlewares","version":"5.0.0","hasRouter":true,"requests":"9097.3","latency":"109.30","throughput":"3.38"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit cf2ad7f

Please sign in to comment.