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 30, 2024
1 parent 2b0dd29 commit 7eebb60
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 23 2024 01:51:00 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Dec 30 2024 01:51:29 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 | | 47683.2 | 20.48 | 8.50 |
| fastify | 5.2.0 | | 47181.6 | 20.69 | 8.46 |
| 0http | 3.5.3 || 46138.4 | 21.19 | 8.23 |
| polka | 0.5.2 | | 46038.4 | 21.21 | 8.21 |
| server-base-router | 7.1.32 | | 45859.2 | 21.28 | 8.18 |
| rayo | 1.4.6 | | 45735.2 | 21.35 | 8.16 |
| connect | 3.7.0 | | 45688.0 | 21.36 | 8.15 |
| server-base | 7.1.32 | | 45428.8 | 21.49 | 8.10 |
| polkadot | 1.0.0 || 45302.4 | 21.59 | 8.08 |
| micro | 10.0.1 | | 45072.0 | 21.67 | 8.04 |
| connect-router | 1.3.8 || 42796.8 | 22.86 | 7.63 |
| micro-route | 2.5.0 || 42590.4 | 22.97 | 7.60 |
| h3 | 1.13.0 || 42128.0 | 23.24 | 7.51 |
| adonisjs | 7.4.0 || 42109.6 | 23.24 | 7.51 |
| h3-router | 1.13.0 || 41000.0 | 23.89 | 7.31 |
| hono | 4.6.14 || 40312.0 | 24.30 | 6.61 |
| restana | 4.9.9 || 38364.2 | 25.56 | 6.84 |
| koa | 2.15.3 || 36981.6 | 26.53 | 6.60 |
| take-five | 2.0.0 || 35654.2 | 27.57 | 12.82 |
| restify | 11.1.0 || 34848.4 | 28.20 | 6.28 |
| koa-isomorphic-router | 1.0.1 || 34642.8 | 28.35 | 6.18 |
| koa-router | 13.1.0 || 33285.2 | 29.54 | 5.94 |
| hapi | 21.3.12 || 31995.0 | 30.74 | 5.71 |
| microrouter | 3.1.3 || 30842.8 | 31.92 | 5.50 |
| fastify-big-json | 5.2.0 || 11976.2 | 82.95 | 137.79 |
| express | 5.0.1 || 10208.0 | 97.39 | 1.82 |
| express-with-middlewares | 5.0.1 || 9208.9 | 107.98 | 3.42 |
| fastify | 5.2.0 | | 47367.2 | 20.60 | 8.49 |
| bare | v20.18.1 | | 47220.8 | 20.67 | 8.42 |
| polka | 0.5.2 || 46952.8 | 20.80 | 8.37 |
| polkadot | 1.0.0 | | 46778.4 | 20.89 | 8.34 |
| connect | 3.7.0 | | 46468.8 | 21.01 | 8.29 |
| server-base | 7.1.32 | | 46328.0 | 21.07 | 8.26 |
| rayo | 1.4.6 | | 46186.4 | 21.13 | 8.24 |
| server-base-router | 7.1.32 | | 46148.0 | 21.15 | 8.23 |
| micro | 10.0.1 || 45770.4 | 21.35 | 8.16 |
| 0http | 3.5.3 | | 44970.4 | 21.75 | 8.02 |
| connect-router | 1.3.8 || 44459.2 | 21.99 | 7.93 |
| adonisjs | 7.4.0 || 43186.4 | 22.65 | 7.70 |
| h3 | 1.13.0 || 43046.4 | 22.74 | 7.68 |
| micro-route | 2.5.0 || 42920.8 | 22.80 | 7.65 |
| h3-router | 1.13.0 || 41628.8 | 23.53 | 7.42 |
| restana | 4.9.9 || 40425.6 | 24.24 | 7.21 |
| hono | 4.6.15 || 40344.8 | 24.28 | 6.62 |
| koa | 2.15.3 || 37166.2 | 26.41 | 6.63 |
| take-five | 2.0.0 || 35511.0 | 27.66 | 12.77 |
| restify | 11.1.0 || 35383.4 | 27.77 | 6.38 |
| koa-router | 13.1.0 || 34724.6 | 28.30 | 6.19 |
| koa-isomorphic-router | 1.0.1 || 34426.4 | 28.53 | 6.14 |
| hapi | 21.3.12 || 32057.8 | 30.68 | 5.72 |
| microrouter | 3.1.3 || 30976.8 | 31.77 | 5.52 |
| fastify-big-json | 5.2.0 || 11913.2 | 83.35 | 137.07 |
| express | 5.0.1 || 9955.4 | 99.82 | 1.78 |
| express-with-middlewares | 5.0.1 || 9429.0 | 105.46 | 3.51 |
| 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":"47683.2","latency":"20.48","throughput":"8.50"},{"name":"fastify","version":"5.2.0","hasRouter":true,"requests":"47181.6","latency":"20.69","throughput":"8.46"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"46138.4","latency":"21.19","throughput":"8.23"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46038.4","latency":"21.21","throughput":"8.21"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45859.2","latency":"21.28","throughput":"8.18"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45735.2","latency":"21.35","throughput":"8.16"},{"name":"connect","version":"3.7.0","requests":"45688.0","latency":"21.36","throughput":"8.15"},{"name":"server-base","version":"7.1.32","requests":"45428.8","latency":"21.49","throughput":"8.10"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45302.4","latency":"21.59","throughput":"8.08"},{"name":"micro","version":"10.0.1","requests":"45072.0","latency":"21.67","throughput":"8.04"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42796.8","latency":"22.86","throughput":"7.63"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42590.4","latency":"22.97","throughput":"7.60"},{"name":"h3","version":"1.13.0","requests":"42128.0","latency":"23.24","throughput":"7.51"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"42109.6","latency":"23.24","throughput":"7.51"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41000.0","latency":"23.89","throughput":"7.31"},{"name":"hono","version":"4.6.14","hasRouter":true,"requests":"40312.0","latency":"24.30","throughput":"6.61"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38364.2","latency":"25.56","throughput":"6.84"},{"name":"koa","version":"2.15.3","requests":"36981.6","latency":"26.53","throughput":"6.60"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35654.2","latency":"27.57","throughput":"12.82"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34848.4","latency":"28.20","throughput":"6.28"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34642.8","latency":"28.35","throughput":"6.18"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33285.2","latency":"29.54","throughput":"5.94"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"31995.0","latency":"30.74","throughput":"5.71"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30842.8","latency":"31.92","throughput":"5.50"},{"name":"fastify-big-json","version":"5.2.0","hasRouter":true,"requests":"11976.2","latency":"82.95","throughput":"137.79"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10208.0","latency":"97.39","throughput":"1.82"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9208.9","latency":"107.98","throughput":"3.42"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"fastify","version":"5.2.0","hasRouter":true,"requests":"47367.2","latency":"20.60","throughput":"8.49"},{"name":"bare","version":"v20.18.1","requests":"47220.8","latency":"20.67","throughput":"8.42"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46952.8","latency":"20.80","throughput":"8.37"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"46778.4","latency":"20.89","throughput":"8.34"},{"name":"connect","version":"3.7.0","requests":"46468.8","latency":"21.01","throughput":"8.29"},{"name":"server-base","version":"7.1.32","requests":"46328.0","latency":"21.07","throughput":"8.26"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"46186.4","latency":"21.13","throughput":"8.24"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"46148.0","latency":"21.15","throughput":"8.23"},{"name":"micro","version":"10.0.1","requests":"45770.4","latency":"21.35","throughput":"8.16"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44970.4","latency":"21.75","throughput":"8.02"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"44459.2","latency":"21.99","throughput":"7.93"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"43186.4","latency":"22.65","throughput":"7.70"},{"name":"h3","version":"1.13.0","requests":"43046.4","latency":"22.74","throughput":"7.68"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42920.8","latency":"22.80","throughput":"7.65"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41628.8","latency":"23.53","throughput":"7.42"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"40425.6","latency":"24.24","throughput":"7.21"},{"name":"hono","version":"4.6.15","hasRouter":true,"requests":"40344.8","latency":"24.28","throughput":"6.62"},{"name":"koa","version":"2.15.3","requests":"37166.2","latency":"26.41","throughput":"6.63"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35511.0","latency":"27.66","throughput":"12.77"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"35383.4","latency":"27.77","throughput":"6.38"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"34724.6","latency":"28.30","throughput":"6.19"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34426.4","latency":"28.53","throughput":"6.14"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"32057.8","latency":"30.68","throughput":"5.72"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30976.8","latency":"31.77","throughput":"5.52"},{"name":"fastify-big-json","version":"5.2.0","hasRouter":true,"requests":"11913.2","latency":"83.35","throughput":"137.07"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"9955.4","latency":"99.82","throughput":"1.78"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9429.0","latency":"105.46","throughput":"3.51"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 7eebb60

Please sign in to comment.