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 Nov 13, 2023
1 parent 8eac6f8 commit db5697a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,41 +41,41 @@ benchmark [arguments (optional)]
> You can also extend the comparison table with percentage values based on fastest result; `benchmark compare -p`
# Benchmarks

* __Machine:__ linux x64 | 2 vCPUs | 6.8GB Mem
* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.9.0`
* __Run:__ Sat Nov 11 2023 19:44:32 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Nov 13 2023 01:43:37 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 |
| :-- | --: | --: | :-: | --: | --: |
| polka | 0.5.2 | | 38777.4 | 25.29 | 6.91 |
| fastify | 4.24.3 | | 38635.2 | 25.38 | 6.93 |
| bare | 10.13.0 | | 38199.0 | 25.67 | 6.81 |
| connect | 3.7.0 | | 37230.2 | 26.36 | 6.64 |
| server-base | 7.1.32 | | 37197.6 | 26.38 | 6.63 |
| rayo | 1.4.5 | | 37013.4 | 26.52 | 6.60 |
| server-base-router | 7.1.32 || 36536.4 | 26.89 | 6.52 |
| yeps | 1.1.1 | | 36441.4 | 26.94 | 6.50 |
| connect-router | 1.3.8 | | 35125.6 | 27.98 | 6.26 |
| vapr | 0.6.0 | | 33896.8 | 29.00 | 5.56 |
| spirit | 0.6.1 | | 32256.2 | 30.51 | 5.75 |
| spirit-router | 0.5.0 | | 32168.6 | 30.59 | 5.74 |
| koa | 2.14.2 | | 31073.6 | 31.68 | 5.54 |
| polkadot | 1.0.0 || 30886.2 | 31.89 | 5.51 |
| yeps-router | 1.2.0 || 30305.6 | 32.49 | 5.40 |
| koa-isomorphic-router | 1.0.1 || 28504.4 | 34.57 | 5.08 |
| take-five | 2.0.0 || 28346.0 | 34.77 | 10.19 |
| restify | 11.1.0 | | 28324.0 | 34.80 | 5.10 |
| 0http | 3.5.2 || 28197.2 | 34.98 | 5.03 |
| koa-router | 12.0.1 || 27927.2 | 35.30 | 4.98 |
| h3-router | 1.8.2 || 27821.6 | 35.45 | 4.56 |
| h3 | 1.8.2 | | 27531.2 | 35.84 | 4.52 |
| restana | 4.9.7 || 25682.0 | 38.46 | 4.58 |
| hapi | 21.3.2 || 24154.8 | 40.89 | 4.31 |
| hono | 3.9.2 || 8490.5 | 117.14 | 1.51 |
| express | 4.18.2 || 8006.1 | 124.27 | 1.43 |
| fastify-big-json | 4.24.3 || 7816.1 | 127.45 | 89.92 |
| express-with-middlewares | 4.18.2 || 7253.3 | 137.18 | 2.70 |
| bare | 10.13.0 | | 46077.6 | 21.19 | 8.22 |
| spirit | 0.6.1 | | 45994.4 | 21.22 | 8.20 |
| fastify | 4.24.3 | | 45958.4 | 21.24 | 8.24 |
| polka | 0.5.2 | | 45950.4 | 21.26 | 8.19 |
| spirit-router | 0.5.0 | | 45384.8 | 21.56 | 8.09 |
| connect | 3.7.0 | | 44778.4 | 21.84 | 7.99 |
| server-base-router | 7.1.32 || 44053.6 | 22.18 | 7.86 |
| rayo | 1.4.5 | | 43756.8 | 22.34 | 7.80 |
| server-base | 7.1.32 | | 43396.0 | 22.54 | 7.74 |
| yeps | 1.1.1 | | 42203.2 | 23.19 | 7.53 |
| connect-router | 1.3.8 | | 41486.4 | 23.62 | 7.40 |
| polkadot | 1.0.0 | | 40974.4 | 23.91 | 7.31 |
| vapr | 0.6.0 | | 40787.2 | 24.01 | 6.69 |
| h3 | 1.8.2 || 40456.0 | 24.22 | 6.64 |
| h3-router | 1.8.2 || 39198.4 | 25.01 | 6.43 |
| 0http | 3.5.2 || 38226.4 | 25.67 | 6.82 |
| yeps-router | 1.2.0 || 36628.8 | 26.81 | 6.53 |
| koa | 2.14.2 | | 36143.4 | 27.15 | 6.45 |
| restify | 11.1.0 || 34253.4 | 28.67 | 6.17 |
| take-five | 2.0.0 || 34231.6 | 28.72 | 12.31 |
| koa-isomorphic-router | 1.0.1 || 33856.6 | 29.05 | 6.04 |
| koa-router | 12.0.1 | | 33596.2 | 29.27 | 5.99 |
| restana | 4.9.7 || 32876.2 | 29.90 | 5.86 |
| hapi | 21.3.2 || 30675.2 | 32.07 | 5.47 |
| hono | 3.9.2 || 12221.4 | 81.26 | 2.18 |
| fastify-big-json | 4.24.3 || 11540.8 | 86.08 | 132.79 |
| express | 4.18.2 || 10714.2 | 92.73 | 1.91 |
| express-with-middlewares | 4.18.2 || 10156.6 | 97.86 | 3.78 |
| foxify | 0.10.20 || N/A | N/A | N/A |
| galatajs | 0.1.1 || N/A | N/A | N/A |
| micro-route | 2.5.0 || 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":"polka","version":"0.5.2","hasRouter":true,"requests":"38777.4","latency":"25.29","throughput":"6.91"},{"name":"fastify","version":"4.24.3","hasRouter":true,"requests":"38635.2","latency":"25.38","throughput":"6.93"},{"name":"bare","version":"10.13.0","requests":"38199.0","latency":"25.67","throughput":"6.81"},{"name":"connect","version":"3.7.0","requests":"37230.2","latency":"26.36","throughput":"6.64"},{"name":"server-base","version":"7.1.32","requests":"37197.6","latency":"26.38","throughput":"6.63"},{"name":"rayo","version":"1.4.5","hasRouter":true,"requests":"37013.4","latency":"26.52","throughput":"6.60"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"36536.4","latency":"26.89","throughput":"6.52"},{"name":"yeps","version":"1.1.1","requests":"36441.4","latency":"26.94","throughput":"6.50"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"35125.6","latency":"27.98","throughput":"6.26"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"33896.8","latency":"29.00","throughput":"5.56"},{"name":"spirit","version":"0.6.1","requests":"32256.2","latency":"30.51","throughput":"5.75"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"32168.6","latency":"30.59","throughput":"5.74"},{"name":"koa","version":"2.14.2","requests":"31073.6","latency":"31.68","throughput":"5.54"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"30886.2","latency":"31.89","throughput":"5.51"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"30305.6","latency":"32.49","throughput":"5.40"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"28504.4","latency":"34.57","throughput":"5.08"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"28346.0","latency":"34.77","throughput":"10.19"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"28324.0","latency":"34.80","throughput":"5.10"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"28197.2","latency":"34.98","throughput":"5.03"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"27927.2","latency":"35.30","throughput":"4.98"},{"name":"h3-router","version":"1.8.2","hasRouter":true,"requests":"27821.6","latency":"35.45","throughput":"4.56"},{"name":"h3","version":"1.8.2","requests":"27531.2","latency":"35.84","throughput":"4.52"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"25682.0","latency":"38.46","throughput":"4.58"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"24154.8","latency":"40.89","throughput":"4.31"},{"name":"hono","version":"3.9.2","hasRouter":true,"requests":"8490.5","latency":"117.14","throughput":"1.51"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"8006.1","latency":"124.27","throughput":"1.43"},{"name":"fastify-big-json","version":"4.24.3","hasRouter":true,"requests":"7816.1","latency":"127.45","throughput":"89.92"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"7253.3","latency":"137.18","throughput":"2.70"},{"name":"foxify","version":"0.10.20","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"galatajs","version":"0.1.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"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":"total.js","version":"3.4.13","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"trpc-router","version":"10.43.3","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"10.13.0","requests":"46077.6","latency":"21.19","throughput":"8.22"},{"name":"spirit","version":"0.6.1","requests":"45994.4","latency":"21.22","throughput":"8.20"},{"name":"fastify","version":"4.24.3","hasRouter":true,"requests":"45958.4","latency":"21.24","throughput":"8.24"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45950.4","latency":"21.26","throughput":"8.19"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"45384.8","latency":"21.56","throughput":"8.09"},{"name":"connect","version":"3.7.0","requests":"44778.4","latency":"21.84","throughput":"7.99"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44053.6","latency":"22.18","throughput":"7.86"},{"name":"rayo","version":"1.4.5","hasRouter":true,"requests":"43756.8","latency":"22.34","throughput":"7.80"},{"name":"server-base","version":"7.1.32","requests":"43396.0","latency":"22.54","throughput":"7.74"},{"name":"yeps","version":"1.1.1","requests":"42203.2","latency":"23.19","throughput":"7.53"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41486.4","latency":"23.62","throughput":"7.40"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"40974.4","latency":"23.91","throughput":"7.31"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"40787.2","latency":"24.01","throughput":"6.69"},{"name":"h3","version":"1.8.2","requests":"40456.0","latency":"24.22","throughput":"6.64"},{"name":"h3-router","version":"1.8.2","hasRouter":true,"requests":"39198.4","latency":"25.01","throughput":"6.43"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"38226.4","latency":"25.67","throughput":"6.82"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"36628.8","latency":"26.81","throughput":"6.53"},{"name":"koa","version":"2.14.2","requests":"36143.4","latency":"27.15","throughput":"6.45"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34253.4","latency":"28.67","throughput":"6.17"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34231.6","latency":"28.72","throughput":"12.31"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33856.6","latency":"29.05","throughput":"6.04"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33596.2","latency":"29.27","throughput":"5.99"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"32876.2","latency":"29.90","throughput":"5.86"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"30675.2","latency":"32.07","throughput":"5.47"},{"name":"hono","version":"3.9.2","hasRouter":true,"requests":"12221.4","latency":"81.26","throughput":"2.18"},{"name":"fastify-big-json","version":"4.24.3","hasRouter":true,"requests":"11540.8","latency":"86.08","throughput":"132.79"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10714.2","latency":"92.73","throughput":"1.91"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"10156.6","latency":"97.86","throughput":"3.78"},{"name":"foxify","version":"0.10.20","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"galatajs","version":"0.1.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"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":"total.js","version":"3.4.13","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"trpc-router","version":"10.43.3","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit db5697a

Please sign in to comment.