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 23, 2024
1 parent 8a9bb0e commit 2b0dd29
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 16 2024 01:58:10 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Dec 23 2024 01:51:00 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.0 | | 46354.4 | 21.08 | 8.31 |
| bare | v20.18.1 | | 46121.6 | 21.18 | 8.22 |
| polka | 0.5.2 || 45559.2 | 21.45 | 8.12 |
| polkadot | 1.0.0 | | 45456.8 | 21.50 | 8.11 |
| 0http | 3.5.3 || 45412.8 | 21.52 | 8.10 |
| rayo | 1.4.6 || 45240.8 | 21.63 | 8.07 |
| connect | 3.7.0 || 44987.2 | 21.74 | 8.02 |
| server-base | 7.1.32 || 44852.0 | 21.80 | 8.00 |
| micro | 10.0.1 || 44596.0 | 21.91 | 7.95 |
| server-base-router | 7.1.32 | | 44365.6 | 22.06 | 7.91 |
| connect-router | 1.3.8 || 42956.0 | 22.78 | 7.66 |
| micro-route | 2.5.0 || 41736.0 | 23.48 | 7.44 |
| h3 | 1.13.0 || 41231.2 | 23.75 | 7.35 |
| h3-router | 1.13.0 || 41207.2 | 23.77 | 7.35 |
| adonisjs | 7.4.0 || 40487.2 | 24.19 | 7.22 |
| hono | 4.6.14 || 39647.2 | 24.72 | 6.50 |
| restana | 4.9.9 || 39209.0 | 25.01 | 6.99 |
| koa | 2.15.3 || 36060.6 | 27.22 | 6.43 |
| koa-isomorphic-router | 1.0.1 || 34443.0 | 28.53 | 6.14 |
| restify | 11.1.0 || 34152.6 | 28.78 | 6.16 |
| take-five | 2.0.0 || 33881.0 | 29.02 | 12.18 |
| koa-router | 13.1.0 || 32934.0 | 29.84 | 5.87 |
| hapi | 21.3.12 || 31408.4 | 31.34 | 5.60 |
| microrouter | 3.1.3 || 30370.0 | 32.41 | 5.42 |
| fastify-big-json | 5.2.0 || 11814.6 | 84.08 | 135.93 |
| express | 5.0.1 || 10112.6 | 98.29 | 1.80 |
| express-with-middlewares | 5.0.1 || 9195.8 | 108.13 | 3.42 |
| 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 |
| 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.0","hasRouter":true,"requests":"46354.4","latency":"21.08","throughput":"8.31"},{"name":"bare","version":"v20.18.1","requests":"46121.6","latency":"21.18","throughput":"8.22"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45559.2","latency":"21.45","throughput":"8.12"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45456.8","latency":"21.50","throughput":"8.11"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"45412.8","latency":"21.52","throughput":"8.10"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45240.8","latency":"21.63","throughput":"8.07"},{"name":"connect","version":"3.7.0","requests":"44987.2","latency":"21.74","throughput":"8.02"},{"name":"server-base","version":"7.1.32","requests":"44852.0","latency":"21.80","throughput":"8.00"},{"name":"micro","version":"10.0.1","requests":"44596.0","latency":"21.91","throughput":"7.95"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44365.6","latency":"22.06","throughput":"7.91"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42956.0","latency":"22.78","throughput":"7.66"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"41736.0","latency":"23.48","throughput":"7.44"},{"name":"h3","version":"1.13.0","requests":"41231.2","latency":"23.75","throughput":"7.35"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41207.2","latency":"23.77","throughput":"7.35"},{"name":"adonisjs","version":"7.4.0","hasRouter":true,"requests":"40487.2","latency":"24.19","throughput":"7.22"},{"name":"hono","version":"4.6.14","hasRouter":true,"requests":"39647.2","latency":"24.72","throughput":"6.50"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"39209.0","latency":"25.01","throughput":"6.99"},{"name":"koa","version":"2.15.3","requests":"36060.6","latency":"27.22","throughput":"6.43"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34443.0","latency":"28.53","throughput":"6.14"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34152.6","latency":"28.78","throughput":"6.16"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"33881.0","latency":"29.02","throughput":"12.18"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"32934.0","latency":"29.84","throughput":"5.87"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"31408.4","latency":"31.34","throughput":"5.60"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30370.0","latency":"32.41","throughput":"5.42"},{"name":"fastify-big-json","version":"5.2.0","hasRouter":true,"requests":"11814.6","latency":"84.08","throughput":"135.93"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"10112.6","latency":"98.29","throughput":"1.80"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9195.8","latency":"108.13","throughput":"3.42"},{"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":"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"}]

0 comments on commit 2b0dd29

Please sign in to comment.