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 Dec 11, 2024
1 parent 041a985 commit 2b01920
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:__ Mon Dec 09 2024 01:57:36 GMT+0000 (Coordinated Universal Time)
* __Run:__ Wed Dec 11 2024 08:30:31 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 || 47969.6 | 20.37 | 8.55 |
| fastify | 5.1.0 | | 47085.6 | 20.73 | 8.44 |
| connect | 3.7.0 | | 46552.8 | 20.97 | 8.30 |
| rayo | 1.4.6 || 46131.2 | 21.16 | 8.23 |
| polka | 0.5.2 || 46102.4 | 21.18 | 8.22 |
| server-base | 7.1.32 || 45595.2 | 21.42 | 8.13 |
| polkadot | 1.0.0 || 45545.6 | 21.46 | 8.12 |
| server-base-router | 7.1.32 | | 45536.8 | 21.42 | 8.12 |
| micro | 10.0.1 || 44764.0 | 21.84 | 7.98 |
| 0http | 3.5.3 || 44570.4 | 21.96 | 7.95 |
| connect-router | 1.3.8 || 42907.2 | 22.80 | 7.65 |
| h3 | 1.13.0 | | 42856.0 | 22.84 | 7.64 |
| adonisjs | 7.3.0 || 42537.6 | 23.00 | 7.59 |
| micro-route | 2.5.0 || 41788.8 | 23.44 | 7.45 |
| h3-router | 1.13.0 || 41465.6 | 23.63 | 7.39 |
| hono | 4.6.13 || 40682.4 | 24.05 | 7.26 |
| restana | 4.9.9 || 39013.6 | 25.13 | 6.96 |
| koa | 2.15.3 || 37448.2 | 26.19 | 6.68 |
| take-five | 2.0.0 || 36091.2 | 27.19 | 12.97 |
| koa-isomorphic-router | 1.0.1 || 35534.2 | 27.64 | 6.34 |
| restify | 11.1.0 || 35288.2 | 27.84 | 6.36 |
| koa-router | 13.1.0 || 34144.4 | 28.78 | 6.09 |
| hapi | 21.3.12 || 31776.6 | 30.97 | 5.67 |
| microrouter | 3.1.3 || 30701.6 | 32.06 | 5.48 |
| fastify-big-json | 5.1.0 || 11860.2 | 83.78 | 136.45 |
| express | 5.0.1 || 10198.8 | 97.44 | 1.82 |
| express-with-middlewares | 5.0.1 || 9466.5 | 105.03 | 3.52 |
| h3 | 1.13.0 || 52312.8 | 18.62 | 9.33 |
| bare | v20.18.1 | | 47473.6 | 20.56 | 8.47 |
| fastify | 5.1.0 | | 46431.2 | 21.03 | 8.32 |
| rayo | 1.4.6 || 46358.4 | 21.06 | 8.27 |
| polka | 0.5.2 || 46216.0 | 21.13 | 8.24 |
| connect | 3.7.0 || 45580.0 | 21.43 | 8.13 |
| polkadot | 1.0.0 || 45184.8 | 21.63 | 8.06 |
| micro | 10.0.1 | | 44974.4 | 21.73 | 8.02 |
| server-base | 7.1.32 || 44952.8 | 21.75 | 8.02 |
| server-base-router | 7.1.32 || 44593.6 | 21.94 | 7.95 |
| 0http | 3.5.3 || 44541.6 | 21.95 | 7.94 |
| connect-router | 1.3.8 | | 43272.8 | 22.59 | 7.72 |
| micro-route | 2.5.0 || 42278.4 | 23.15 | 7.54 |
| adonisjs | 7.3.0 || 41523.2 | 23.58 | 7.41 |
| h3-router | 1.13.0 || 41288.0 | 23.72 | 7.36 |
| hono | 4.6.13 || 39595.2 | 24.76 | 7.06 |
| restana | 4.9.9 || 38324.0 | 25.60 | 6.83 |
| koa | 2.15.3 || 36974.6 | 26.54 | 6.59 |
| take-five | 2.0.0 || 34907.8 | 28.14 | 12.55 |
| koa-isomorphic-router | 1.0.1 || 34699.4 | 28.29 | 6.19 |
| restify | 11.1.0 || 34225.2 | 28.71 | 6.17 |
| koa-router | 13.1.0 || 33843.6 | 29.05 | 6.04 |
| hapi | 21.3.12 || 32089.0 | 30.67 | 5.72 |
| microrouter | 3.1.3 || 30314.4 | 32.47 | 5.41 |
| fastify-big-json | 5.1.0 || 11911.8 | 83.38 | 137.04 |
| express | 5.0.1 || 9996.8 | 99.44 | 1.78 |
| express-with-middlewares | 5.0.1 || 9415.9 | 105.59 | 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":"47969.6","latency":"20.37","throughput":"8.55"},{"name":"fastify","version":"5.1.0","hasRouter":true,"requests":"47085.6","latency":"20.73","throughput":"8.44"},{"name":"connect","version":"3.7.0","requests":"46552.8","latency":"20.97","throughput":"8.30"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"46131.2","latency":"21.16","throughput":"8.23"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46102.4","latency":"21.18","throughput":"8.22"},{"name":"server-base","version":"7.1.32","requests":"45595.2","latency":"21.42","throughput":"8.13"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45545.6","latency":"21.46","throughput":"8.12"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45536.8","latency":"21.42","throughput":"8.12"},{"name":"micro","version":"10.0.1","requests":"44764.0","latency":"21.84","throughput":"7.98"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44570.4","latency":"21.96","throughput":"7.95"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42907.2","latency":"22.80","throughput":"7.65"},{"name":"h3","version":"1.13.0","requests":"42856.0","latency":"22.84","throughput":"7.64"},{"name":"adonisjs","version":"7.3.0","hasRouter":true,"requests":"42537.6","latency":"23.00","throughput":"7.59"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"41788.8","latency":"23.44","throughput":"7.45"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41465.6","latency":"23.63","throughput":"7.39"},{"name":"hono","version":"4.6.13","hasRouter":true,"requests":"40682.4","latency":"24.05","throughput":"7.26"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"39013.6","latency":"25.13","throughput":"6.96"},{"name":"koa","version":"2.15.3","requests":"37448.2","latency":"26.19","throughput":"6.68"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"36091.2","latency":"27.19","throughput":"12.97"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35534.2","latency":"27.64","throughput":"6.34"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"35288.2","latency":"27.84","throughput":"6.36"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"34144.4","latency":"28.78","throughput":"6.09"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"31776.6","latency":"30.97","throughput":"5.67"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30701.6","latency":"32.06","throughput":"5.48"},{"name":"fastify-big-json","version":"5.1.0","hasRouter":true,"requests":"11860.2","latency":"83.78","throughput":"136.45"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10198.8","latency":"97.44","throughput":"1.82"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9466.5","latency":"105.03","throughput":"3.52"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"h3","version":"1.13.0","requests":"52312.8","latency":"18.62","throughput":"9.33"},{"name":"bare","version":"v20.18.1","requests":"47473.6","latency":"20.56","throughput":"8.47"},{"name":"fastify","version":"5.1.0","hasRouter":true,"requests":"46431.2","latency":"21.03","throughput":"8.32"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"46358.4","latency":"21.06","throughput":"8.27"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46216.0","latency":"21.13","throughput":"8.24"},{"name":"connect","version":"3.7.0","requests":"45580.0","latency":"21.43","throughput":"8.13"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45184.8","latency":"21.63","throughput":"8.06"},{"name":"micro","version":"10.0.1","requests":"44974.4","latency":"21.73","throughput":"8.02"},{"name":"server-base","version":"7.1.32","requests":"44952.8","latency":"21.75","throughput":"8.02"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44593.6","latency":"21.94","throughput":"7.95"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44541.6","latency":"21.95","throughput":"7.94"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43272.8","latency":"22.59","throughput":"7.72"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42278.4","latency":"23.15","throughput":"7.54"},{"name":"adonisjs","version":"7.3.0","hasRouter":true,"requests":"41523.2","latency":"23.58","throughput":"7.41"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41288.0","latency":"23.72","throughput":"7.36"},{"name":"hono","version":"4.6.13","hasRouter":true,"requests":"39595.2","latency":"24.76","throughput":"7.06"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38324.0","latency":"25.60","throughput":"6.83"},{"name":"koa","version":"2.15.3","requests":"36974.6","latency":"26.54","throughput":"6.59"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34907.8","latency":"28.14","throughput":"12.55"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34699.4","latency":"28.29","throughput":"6.19"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34225.2","latency":"28.71","throughput":"6.17"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33843.6","latency":"29.05","throughput":"6.04"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"32089.0","latency":"30.67","throughput":"5.72"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30314.4","latency":"32.47","throughput":"5.41"},{"name":"fastify-big-json","version":"5.1.0","hasRouter":true,"requests":"11911.8","latency":"83.38","throughput":"137.04"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"9996.8","latency":"99.44","throughput":"1.78"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9415.9","latency":"105.59","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 2b01920

Please sign in to comment.