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 20, 2025
1 parent 6731ba0 commit 307bf48
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:__ Wed Jan 15 2025 16:50:41 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Jan 20 2025 01:48:53 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 | | 47268.8 | 20.64 | 8.48 |
| server-base-router | 7.1.32 || 47252.8 | 20.64 | 8.43 |
| bare | v20.18.1 | | 46932.2 | 20.79 | 8.37 |
| polkadot | 1.0.0 | | 46308.8 | 21.10 | 8.26 |
| polka | 0.5.2 | | 46115.2 | 21.16 | 8.22 |
| connect | 3.7.0 | | 45987.2 | 21.21 | 8.20 |
| server-base | 7.1.32 || 45523.2 | 21.50 | 8.12 |
| rayo | 1.4.6 || 45191.2 | 21.64 | 8.06 |
| micro | 10.0.1 || 44994.4 | 21.72 | 8.02 |
| 0http | 4.0.0 | | 44758.4 | 21.85 | 7.98 |
| h3 | 1.13.1 | | 43832.0 | 22.32 | 7.82 |
| connect-router | 1.3.8 || 43333.6 | 22.57 | 7.73 |
| h3-router | 1.13.1 || 42594.4 | 22.97 | 7.60 |
| micro-route | 2.5.0 | | 42280.8 | 23.14 | 7.54 |
| adonisjs | 7.4.0 || 41235.2 | 23.76 | 7.35 |
| hono | 4.6.16 || 40091.2 | 24.44 | 6.58 |
| restana | v5.0.0 || 39220.8 | 24.99 | 6.99 |
| koa | 2.15.3 || 37772.0 | 25.96 | 6.74 |
| restify | 11.1.0 || 35217.4 | 27.89 | 6.35 |
| koa-isomorphic-router | 1.0.1 || 35061.8 | 28.03 | 6.25 |
| take-five | 2.0.0 || 34719.0 | 28.29 | 12.48 |
| koa-router | 13.1.0 || 33469.4 | 29.38 | 5.97 |
| hapi | 21.3.12 || 31796.2 | 30.95 | 5.67 |
| microrouter | 3.1.3 || 30434.0 | 32.35 | 5.43 |
| fastify-big-json | 5.2.1 || 11709.4 | 84.82 | 134.72 |
| express | 5.0.1 || 10493.8 | 94.71 | 1.87 |
| express-with-middlewares | 5.0.1 || 9432.6 | 105.41 | 3.51 |
| bare | v20.18.1 | | 47121.8 | 20.73 | 8.40 |
| fastify | 5.2.1 || 46243.2 | 21.12 | 8.29 |
| polka | 0.5.2 | | 45572.0 | 21.45 | 8.13 |
| rayo | 1.4.6 | | 45404.8 | 21.53 | 8.10 |
| connect | 3.7.0 | | 45337.6 | 21.57 | 8.09 |
| server-base-router | 7.1.32 | | 45066.4 | 21.69 | 8.04 |
| polkadot | 1.0.0 || 44980.8 | 21.74 | 8.02 |
| 0http | 4.0.0 || 44627.2 | 21.91 | 7.96 |
| server-base | 7.1.32 || 44520.8 | 21.96 | 7.94 |
| micro | 10.0.1 | | 44171.2 | 22.14 | 7.88 |
| connect-router | 1.3.8 | | 42840.8 | 22.85 | 7.64 |
| micro-route | 2.5.0 || 41688.0 | 23.49 | 7.43 |
| adonisjs | 7.4.0 || 41569.6 | 23.56 | 7.41 |
| h3 | 1.13.1 | | 41398.4 | 23.65 | 7.38 |
| hono | 4.6.17 || 40537.6 | 24.15 | 6.65 |
| h3-router | 1.13.1 || 40528.8 | 24.17 | 7.23 |
| restana | v5.0.0 || 39802.4 | 24.63 | 7.10 |
| koa | 2.15.3 || 37801.4 | 25.95 | 6.74 |
| take-five | 2.0.0 || 35191.0 | 27.91 | 12.65 |
| koa-isomorphic-router | 1.0.1 || 34533.4 | 28.45 | 6.16 |
| restify | 11.1.0 || 34443.6 | 28.53 | 6.21 |
| koa-router | 13.1.0 || 33534.6 | 29.32 | 5.98 |
| hapi | 21.3.12 || 31288.2 | 31.45 | 5.58 |
| microrouter | 3.1.3 || 30258.8 | 32.54 | 5.40 |
| fastify-big-json | 5.2.1 || 11880.6 | 83.62 | 136.69 |
| express | 5.0.1 || 10251.5 | 96.96 | 1.83 |
| express-with-middlewares | 5.0.1 || 9222.4 | 107.82 | 3.43 |
| 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":"47268.8","latency":"20.64","throughput":"8.48"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"47252.8","latency":"20.64","throughput":"8.43"},{"name":"bare","version":"v20.18.1","requests":"46932.2","latency":"20.79","throughput":"8.37"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"46308.8","latency":"21.10","throughput":"8.26"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46115.2","latency":"21.16","throughput":"8.22"},{"name":"connect","version":"3.7.0","requests":"45987.2","latency":"21.21","throughput":"8.20"},{"name":"server-base","version":"7.1.32","requests":"45523.2","latency":"21.50","throughput":"8.12"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45191.2","latency":"21.64","throughput":"8.06"},{"name":"micro","version":"10.0.1","requests":"44994.4","latency":"21.72","throughput":"8.02"},{"name":"0http","version":"4.0.0","hasRouter":true,"requests":"44758.4","latency":"21.85","throughput":"7.98"},{"name":"h3","version":"1.13.1","requests":"43832.0","latency":"22.32","throughput":"7.82"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43333.6","latency":"22.57","throughput":"7.73"},{"name":"h3-router","version":"1.13.1","hasRouter":true,"requests":"42594.4","latency":"22.97","throughput":"7.60"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42280.8","latency":"23.14","throughput":"7.54"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"41235.2","latency":"23.76","throughput":"7.35"},{"name":"hono","version":"4.6.16","hasRouter":true,"requests":"40091.2","latency":"24.44","throughput":"6.58"},{"name":"restana","version":"v5.0.0","hasRouter":true,"requests":"39220.8","latency":"24.99","throughput":"6.99"},{"name":"koa","version":"2.15.3","requests":"37772.0","latency":"25.96","throughput":"6.74"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"35217.4","latency":"27.89","throughput":"6.35"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35061.8","latency":"28.03","throughput":"6.25"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34719.0","latency":"28.29","throughput":"12.48"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33469.4","latency":"29.38","throughput":"5.97"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"31796.2","latency":"30.95","throughput":"5.67"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30434.0","latency":"32.35","throughput":"5.43"},{"name":"fastify-big-json","version":"5.2.1","hasRouter":true,"requests":"11709.4","latency":"84.82","throughput":"134.72"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10493.8","latency":"94.71","throughput":"1.87"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9432.6","latency":"105.41","throughput":"3.51"},{"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":"47121.8","latency":"20.73","throughput":"8.40"},{"name":"fastify","version":"5.2.1","hasRouter":true,"requests":"46243.2","latency":"21.12","throughput":"8.29"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45572.0","latency":"21.45","throughput":"8.13"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45404.8","latency":"21.53","throughput":"8.10"},{"name":"connect","version":"3.7.0","requests":"45337.6","latency":"21.57","throughput":"8.09"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45066.4","latency":"21.69","throughput":"8.04"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44980.8","latency":"21.74","throughput":"8.02"},{"name":"0http","version":"4.0.0","hasRouter":true,"requests":"44627.2","latency":"21.91","throughput":"7.96"},{"name":"server-base","version":"7.1.32","requests":"44520.8","latency":"21.96","throughput":"7.94"},{"name":"micro","version":"10.0.1","requests":"44171.2","latency":"22.14","throughput":"7.88"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42840.8","latency":"22.85","throughput":"7.64"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"41688.0","latency":"23.49","throughput":"7.43"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"41569.6","latency":"23.56","throughput":"7.41"},{"name":"h3","version":"1.13.1","requests":"41398.4","latency":"23.65","throughput":"7.38"},{"name":"hono","version":"4.6.17","hasRouter":true,"requests":"40537.6","latency":"24.15","throughput":"6.65"},{"name":"h3-router","version":"1.13.1","hasRouter":true,"requests":"40528.8","latency":"24.17","throughput":"7.23"},{"name":"restana","version":"v5.0.0","hasRouter":true,"requests":"39802.4","latency":"24.63","throughput":"7.10"},{"name":"koa","version":"2.15.3","requests":"37801.4","latency":"25.95","throughput":"6.74"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35191.0","latency":"27.91","throughput":"12.65"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34533.4","latency":"28.45","throughput":"6.16"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34443.6","latency":"28.53","throughput":"6.21"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33534.6","latency":"29.32","throughput":"5.98"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"31288.2","latency":"31.45","throughput":"5.58"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30258.8","latency":"32.54","throughput":"5.40"},{"name":"fastify-big-json","version":"5.2.1","hasRouter":true,"requests":"11880.6","latency":"83.62","throughput":"136.69"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10251.5","latency":"96.96","throughput":"1.83"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9222.4","latency":"107.82","throughput":"3.43"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 307bf48

Please sign in to comment.