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 1, 2024
1 parent 6b09748 commit b3b412b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,35 +45,35 @@ node ./benchmark [arguments (optional)]
# Benchmarks

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.14.0`
* __Run:__ Mon Jun 24 2024 01:38:21 GMT+0000 (Coordinated Universal Time)
* __Node:__ `v20.15.0`
* __Run:__ Mon Jul 01 2024 01:44:06 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 |
| :-- | --: | --: | :-: | --: | --: |
| polkadot | 1.0.0 || 54566.4 | 17.81 | 9.73 |
| h3 | 1.12.0 | | 48948.0 | 19.93 | 8.73 |
| bare | v20.14.0 || 46847.2 | 20.85 | 8.35 |
| connect | 3.7.0 | | 46380.8 | 21.05 | 8.27 |
| polka | 0.5.2 || 45805.6 | 21.34 | 8.17 |
| fastify | 4.28.0 || 45369.6 | 21.53 | 8.14 |
| server-base | 7.1.32 || 45290.4 | 21.58 | 8.08 |
| rayo | 1.4.6 | | 44778.4 | 21.84 | 7.98 |
| server-base-router | 7.1.32 || 44640.0 | 21.91 | 7.96 |
| 0http | 3.5.3 || 44279.2 | 22.09 | 7.90 |
| connect-router | 1.3.8 | | 42777.6 | 22.87 | 7.63 |
| h3-router | 1.12.0 || 40840.0 | 23.98 | 7.28 |
| hono | 4.4.7 || 38841.6 | 25.24 | 6.93 |
| restana | 4.9.9 || 37971.2 | 25.83 | 6.77 |
| koa | 2.15.3 || 35938.6 | 27.32 | 6.41 |
| take-five | 2.0.0 || 35580.8 | 27.61 | 12.79 |
| restify | 11.1.0 || 34420.6 | 28.55 | 6.20 |
| koa-isomorphic-router | 1.0.1 || 34163.6 | 28.77 | 6.09 |
| koa-router | 12.0.1 || 33513.8 | 29.34 | 5.98 |
| hapi | 21.3.10 || 31282.2 | 31.46 | 5.58 |
| fastify-big-json | 4.28.0 || 11782.0 | 84.32 | 135.56 |
| express | 4.19.2 || 10500.8 | 94.65 | 1.87 |
| express-with-middlewares | 4.19.2 || 10083.3 | 98.59 | 3.75 |
| 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 |
| 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":"polkadot","version":"1.0.0","hasRouter":false,"requests":"54566.4","latency":"17.81","throughput":"9.73"},{"name":"h3","version":"1.12.0","requests":"48948.0","latency":"19.93","throughput":"8.73"},{"name":"bare","version":"v20.14.0","requests":"46847.2","latency":"20.85","throughput":"8.35"},{"name":"connect","version":"3.7.0","requests":"46380.8","latency":"21.05","throughput":"8.27"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45805.6","latency":"21.34","throughput":"8.17"},{"name":"fastify","version":"4.28.0","hasRouter":true,"requests":"45369.6","latency":"21.53","throughput":"8.14"},{"name":"server-base","version":"7.1.32","requests":"45290.4","latency":"21.58","throughput":"8.08"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44778.4","latency":"21.84","throughput":"7.98"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44640.0","latency":"21.91","throughput":"7.96"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44279.2","latency":"22.09","throughput":"7.90"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42777.6","latency":"22.87","throughput":"7.63"},{"name":"h3-router","version":"1.12.0","hasRouter":true,"requests":"40840.0","latency":"23.98","throughput":"7.28"},{"name":"hono","version":"4.4.7","hasRouter":true,"requests":"38841.6","latency":"25.24","throughput":"6.93"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"37971.2","latency":"25.83","throughput":"6.77"},{"name":"koa","version":"2.15.3","requests":"35938.6","latency":"27.32","throughput":"6.41"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35580.8","latency":"27.61","throughput":"12.79"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34420.6","latency":"28.55","throughput":"6.20"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34163.6","latency":"28.77","throughput":"6.09"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33513.8","latency":"29.34","throughput":"5.98"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"31282.2","latency":"31.46","throughput":"5.58"},{"name":"fastify-big-json","version":"4.28.0","hasRouter":true,"requests":"11782.0","latency":"84.32","throughput":"135.56"},{"name":"express","version":"4.19.2","hasRouter":true,"requests":"10500.8","latency":"94.65","throughput":"1.87"},{"name":"express-with-middlewares","version":"4.19.2","hasRouter":true,"requests":"10083.3","latency":"98.59","throughput":"3.75"},{"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":"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"}]

0 comments on commit b3b412b

Please sign in to comment.