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 Jul 8, 2024
1 parent b3b412b commit b207912
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,34 @@ node ./benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.15.0`
* __Run:__ Mon Jul 01 2024 01:44:06 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Jul 08 2024 01:39:20 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.15.0 || 46858.4 | 20.84 | 8.36 |
| polka | 0.5.2 || 45382.4 | 21.53 | 8.09 |
| connect | 3.7.0 || 45009.6 | 21.72 | 8.03 |
| server-base-router | 7.1.32 || 44963.2 | 21.74 | 8.02 |
| fastify | 4.28.1 | | 44872.8 | 21.79 | 8.04 |
| rayo | 1.4.6 || 44217.6 | 22.12 | 7.89 |
| server-base | 7.1.32 | | 44091.2 | 22.18 | 7.86 |
| polkadot | 1.0.0 || 43774.4 | 22.35 | 7.81 |
| 0http | 3.5.3 || 43264.0 | 22.62 | 7.72 |
| connect-router | 1.3.8 || 42172.0 | 23.21 | 7.52 |
| h3 | 1.12.0 || 39408.0 | 24.88 | 7.03 |
| restana | 4.9.9 || 38844.8 | 25.24 | 6.93 |
| h3-router | 1.12.0 || 38769.6 | 25.31 | 6.91 |
| hono | 4.4.10 || 38728.8 | 25.32 | 6.91 |
| koa | 2.15.3 || 36017.8 | 27.26 | 6.42 |
| take-five | 2.0.0 || 34567.0 | 28.43 | 12.43 |
| koa-isomorphic-router | 1.0.1 || 34186.0 | 28.75 | 6.10 |
| restify | 11.1.0 || 32709.2 | 30.07 | 5.90 |
| koa-router | 12.0.1 || 32676.8 | 30.10 | 5.83 |
| hapi | 21.3.10 || 29720.0 | 33.14 | 5.30 |
| fastify-big-json | 4.28.1 || 11623.8 | 85.46 | 133.73 |
| express | 4.19.2 || 10899.8 | 91.17 | 1.94 |
| express-with-middlewares | 4.19.2 || 10044.9 | 98.92 | 3.74 |
| bare | v20.15.0 || 46585.6 | 20.96 | 8.31 |
| fastify | 4.28.1 || 46007.2 | 21.23 | 8.25 |
| connect | 3.7.0 || 45417.4 | 21.51 | 8.10 |
| polka | 0.5.2 || 45326.4 | 21.56 | 8.08 |
| polkadot | 1.0.0 | | 45200.0 | 21.63 | 8.06 |
| server-base-router | 7.1.32 || 45099.2 | 21.68 | 8.04 |
| rayo | 1.4.6 | | 44586.4 | 21.94 | 7.95 |
| server-base | 7.1.32 || 44548.8 | 21.95 | 7.95 |
| 0http | 3.5.3 || 44336.8 | 22.06 | 7.91 |
| connect-router | 1.3.8 || 41946.4 | 23.34 | 7.48 |
| h3 | 1.12.0 || 40916.0 | 23.94 | 7.30 |
| h3-router | 1.12.0 || 39739.2 | 24.66 | 7.09 |
| hono | 4.4.12 || 39184.8 | 25.02 | 6.99 |
| restana | 4.9.9 || 38806.4 | 25.27 | 6.92 |
| koa | 2.15.3 || 35900.6 | 27.36 | 6.40 |
| take-five | 2.0.0 || 34190.8 | 28.75 | 12.29 |
| koa-isomorphic-router | 1.0.1 || 33214.8 | 29.61 | 5.92 |
| restify | 11.1.0 || 32997.0 | 29.80 | 5.95 |
| koa-router | 12.0.1 || 32791.6 | 30.00 | 5.85 |
| hapi | 21.3.10 || 30701.0 | 32.07 | 5.47 |
| fastify-big-json | 4.28.1 || 11643.4 | 85.31 | 133.96 |
| express | 4.19.2 || 10402.2 | 95.55 | 1.86 |
| express-with-middlewares | 4.19.2 || 9984.0 | 99.51 | 3.71 |
| micro-route | 2.5.0 || N/A | N/A | N/A |
| micro | 10.0.1 || N/A | N/A | N/A |
| microrouter | 3.1.3 || N/A | N/A | N/A |
Expand Down
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.15.0","requests":"46858.4","latency":"20.84","throughput":"8.36"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45382.4","latency":"21.53","throughput":"8.09"},{"name":"connect","version":"3.7.0","requests":"45009.6","latency":"21.72","throughput":"8.03"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44963.2","latency":"21.74","throughput":"8.02"},{"name":"fastify","version":"4.28.1","hasRouter":true,"requests":"44872.8","latency":"21.79","throughput":"8.04"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44217.6","latency":"22.12","throughput":"7.89"},{"name":"server-base","version":"7.1.32","requests":"44091.2","latency":"22.18","throughput":"7.86"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"43774.4","latency":"22.35","throughput":"7.81"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"43264.0","latency":"22.62","throughput":"7.72"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42172.0","latency":"23.21","throughput":"7.52"},{"name":"h3","version":"1.12.0","requests":"39408.0","latency":"24.88","throughput":"7.03"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38844.8","latency":"25.24","throughput":"6.93"},{"name":"h3-router","version":"1.12.0","hasRouter":true,"requests":"38769.6","latency":"25.31","throughput":"6.91"},{"name":"hono","version":"4.4.10","hasRouter":true,"requests":"38728.8","latency":"25.32","throughput":"6.91"},{"name":"koa","version":"2.15.3","requests":"36017.8","latency":"27.26","throughput":"6.42"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34567.0","latency":"28.43","throughput":"12.43"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34186.0","latency":"28.75","throughput":"6.10"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"32709.2","latency":"30.07","throughput":"5.90"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32676.8","latency":"30.10","throughput":"5.83"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"29720.0","latency":"33.14","throughput":"5.30"},{"name":"fastify-big-json","version":"4.28.1","hasRouter":true,"requests":"11623.8","latency":"85.46","throughput":"133.73"},{"name":"express","version":"4.19.2","hasRouter":true,"requests":"10899.8","latency":"91.17","throughput":"1.94"},{"name":"express-with-middlewares","version":"4.19.2","hasRouter":true,"requests":"10044.9","latency":"98.92","throughput":"3.74"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"micro","version":"10.0.1","requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"v20.15.0","requests":"46585.6","latency":"20.96","throughput":"8.31"},{"name":"fastify","version":"4.28.1","hasRouter":true,"requests":"46007.2","latency":"21.23","throughput":"8.25"},{"name":"connect","version":"3.7.0","requests":"45417.4","latency":"21.51","throughput":"8.10"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45326.4","latency":"21.56","throughput":"8.08"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45200.0","latency":"21.63","throughput":"8.06"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45099.2","latency":"21.68","throughput":"8.04"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44586.4","latency":"21.94","throughput":"7.95"},{"name":"server-base","version":"7.1.32","requests":"44548.8","latency":"21.95","throughput":"7.95"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44336.8","latency":"22.06","throughput":"7.91"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41946.4","latency":"23.34","throughput":"7.48"},{"name":"h3","version":"1.12.0","requests":"40916.0","latency":"23.94","throughput":"7.30"},{"name":"h3-router","version":"1.12.0","hasRouter":true,"requests":"39739.2","latency":"24.66","throughput":"7.09"},{"name":"hono","version":"4.4.12","hasRouter":true,"requests":"39184.8","latency":"25.02","throughput":"6.99"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38806.4","latency":"25.27","throughput":"6.92"},{"name":"koa","version":"2.15.3","requests":"35900.6","latency":"27.36","throughput":"6.40"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34190.8","latency":"28.75","throughput":"12.29"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33214.8","latency":"29.61","throughput":"5.92"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"32997.0","latency":"29.80","throughput":"5.95"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32791.6","latency":"30.00","throughput":"5.85"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"30701.0","latency":"32.07","throughput":"5.47"},{"name":"fastify-big-json","version":"4.28.1","hasRouter":true,"requests":"11643.4","latency":"85.31","throughput":"133.96"},{"name":"express","version":"4.19.2","hasRouter":true,"requests":"10402.2","latency":"95.55","throughput":"1.86"},{"name":"express-with-middlewares","version":"4.19.2","hasRouter":true,"requests":"9984.0","latency":"99.51","throughput":"3.71"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"micro","version":"10.0.1","requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit b207912

Please sign in to comment.