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 Mar 4, 2024
1 parent 16f3b96 commit 642e7c4
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 @@ -50,34 +50,34 @@ benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.11.1`
* __Run:__ Mon Feb 26 2024 01:30:57 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Mar 04 2024 01:30: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.11.1 || 44634.4 | 21.89 | 7.96 |
| connect | 3.7.0 || 43548.0 | 22.45 | 7.77 |
| rayo | 1.4.6 || 43209.6 | 22.63 | 7.71 |
| fastify | 4.26.1 || 43172.0 | 22.66 | 7.74 |
| polka | 0.5.2 || 43149.4 | 22.68 | 7.69 |
| polkadot | 1.0.0 || 42844.8 | 22.83 | 7.64 |
| server-base-router | 7.1.32 || 41909.6 | 23.36 | 7.47 |
| server-base | 7.1.32 || 41308.0 | 23.71 | 7.37 |
| connect-router | 1.3.8 | | 41021.6 | 23.87 | 7.32 |
| h3 | 1.11.1 | | 39677.6 | 24.70 | 7.08 |
| h3-router | 1.11.1 || 39104.2 | 25.07 | 6.97 |
| 0http | 3.5.2 || 37916.8 | 25.87 | 6.76 |
| koa | 2.15.0 || 35281.4 | 27.86 | 6.29 |
| hono | 4.0.7 || 34390.4 | 28.57 | 6.13 |
| koa-isomorphic-router | 1.0.1 || 33396.8 | 29.47 | 5.96 |
| take-five | 2.0.0 || 33247.0 | 29.57 | 11.95 |
| koa-router | 12.0.1 || 32043.0 | 30.70 | 5.71 |
| restify | 11.1.0 || 31797.0 | 30.94 | 5.73 |
| hapi | 21.3.3 || 30371.2 | 32.39 | 5.42 |
| restana | 4.9.7 || 29894.2 | 32.95 | 5.33 |
| fastify-big-json | 4.26.1 || 11738.0 | 84.64 | 135.04 |
| express | 4.18.2 || 10561.6 | 94.11 | 1.88 |
| express-with-middlewares | 4.18.2 || 9684.6 | 102.65 | 3.60 |
| bare | v20.11.1 || 46362.4 | 21.06 | 8.27 |
| connect | 3.7.0 || 45498.4 | 21.48 | 8.11 |
| polka | 0.5.2 || 45356.8 | 21.55 | 8.09 |
| fastify | 4.26.2 || 44939.2 | 21.76 | 8.06 |
| rayo | 1.4.6 || 44376.0 | 22.04 | 7.91 |
| polkadot | 1.0.0 || 44264.8 | 22.10 | 7.89 |
| server-base-router | 7.1.32 || 44263.2 | 22.09 | 7.89 |
| server-base | 7.1.32 || 42943.2 | 22.78 | 7.66 |
| h3 | 1.11.1 | | 42456.0 | 23.05 | 7.57 |
| connect-router | 1.3.8 | | 41798.4 | 23.43 | 7.45 |
| h3-router | 1.11.1 || 40369.6 | 24.27 | 7.20 |
| 0http | 3.5.2 || 39906.4 | 24.57 | 7.12 |
| koa | 2.15.0 || 35757.4 | 27.46 | 6.38 |
| take-five | 2.0.0 || 34510.2 | 28.47 | 12.41 |
| koa-isomorphic-router | 1.0.1 || 33840.2 | 29.05 | 6.04 |
| restify | 11.1.0 || 33582.0 | 29.28 | 6.05 |
| restana | 4.9.7 || 33275.8 | 29.55 | 5.93 |
| hono | 4.0.9 || 33193.0 | 29.62 | 5.92 |
| koa-router | 12.0.1 || 33044.0 | 29.76 | 5.89 |
| hapi | 21.3.3 || 30591.2 | 32.17 | 5.46 |
| fastify-big-json | 4.26.2 || 11800.2 | 84.17 | 135.76 |
| express | 4.18.3 || 10655.0 | 93.23 | 1.90 |
| express-with-middlewares | 4.18.3 || 9942.8 | 99.97 | 3.70 |
| 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.11.1","requests":"44634.4","latency":"21.89","throughput":"7.96"},{"name":"connect","version":"3.7.0","requests":"43548.0","latency":"22.45","throughput":"7.77"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"43209.6","latency":"22.63","throughput":"7.71"},{"name":"fastify","version":"4.26.1","hasRouter":true,"requests":"43172.0","latency":"22.66","throughput":"7.74"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"43149.4","latency":"22.68","throughput":"7.69"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"42844.8","latency":"22.83","throughput":"7.64"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"41909.6","latency":"23.36","throughput":"7.47"},{"name":"server-base","version":"7.1.32","requests":"41308.0","latency":"23.71","throughput":"7.37"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41021.6","latency":"23.87","throughput":"7.32"},{"name":"h3","version":"1.11.1","requests":"39677.6","latency":"24.70","throughput":"7.08"},{"name":"h3-router","version":"1.11.1","hasRouter":true,"requests":"39104.2","latency":"25.07","throughput":"6.97"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"37916.8","latency":"25.87","throughput":"6.76"},{"name":"koa","version":"2.15.0","requests":"35281.4","latency":"27.86","throughput":"6.29"},{"name":"hono","version":"4.0.7","hasRouter":true,"requests":"34390.4","latency":"28.57","throughput":"6.13"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33396.8","latency":"29.47","throughput":"5.96"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"33247.0","latency":"29.57","throughput":"11.95"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32043.0","latency":"30.70","throughput":"5.71"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"31797.0","latency":"30.94","throughput":"5.73"},{"name":"hapi","version":"21.3.3","hasRouter":true,"requests":"30371.2","latency":"32.39","throughput":"5.42"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"29894.2","latency":"32.95","throughput":"5.33"},{"name":"fastify-big-json","version":"4.26.1","hasRouter":true,"requests":"11738.0","latency":"84.64","throughput":"135.04"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10561.6","latency":"94.11","throughput":"1.88"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"9684.6","latency":"102.65","throughput":"3.60"},{"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.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"v20.11.1","requests":"46362.4","latency":"21.06","throughput":"8.27"},{"name":"connect","version":"3.7.0","requests":"45498.4","latency":"21.48","throughput":"8.11"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45356.8","latency":"21.55","throughput":"8.09"},{"name":"fastify","version":"4.26.2","hasRouter":true,"requests":"44939.2","latency":"21.76","throughput":"8.06"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44376.0","latency":"22.04","throughput":"7.91"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44264.8","latency":"22.10","throughput":"7.89"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44263.2","latency":"22.09","throughput":"7.89"},{"name":"server-base","version":"7.1.32","requests":"42943.2","latency":"22.78","throughput":"7.66"},{"name":"h3","version":"1.11.1","requests":"42456.0","latency":"23.05","throughput":"7.57"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41798.4","latency":"23.43","throughput":"7.45"},{"name":"h3-router","version":"1.11.1","hasRouter":true,"requests":"40369.6","latency":"24.27","throughput":"7.20"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"39906.4","latency":"24.57","throughput":"7.12"},{"name":"koa","version":"2.15.0","requests":"35757.4","latency":"27.46","throughput":"6.38"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34510.2","latency":"28.47","throughput":"12.41"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33840.2","latency":"29.05","throughput":"6.04"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33582.0","latency":"29.28","throughput":"6.05"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"33275.8","latency":"29.55","throughput":"5.93"},{"name":"hono","version":"4.0.9","hasRouter":true,"requests":"33193.0","latency":"29.62","throughput":"5.92"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33044.0","latency":"29.76","throughput":"5.89"},{"name":"hapi","version":"21.3.3","hasRouter":true,"requests":"30591.2","latency":"32.17","throughput":"5.46"},{"name":"fastify-big-json","version":"4.26.2","hasRouter":true,"requests":"11800.2","latency":"84.17","throughput":"135.76"},{"name":"express","version":"4.18.3","hasRouter":true,"requests":"10655.0","latency":"93.23","throughput":"1.90"},{"name":"express-with-middlewares","version":"4.18.3","hasRouter":true,"requests":"9942.8","latency":"99.97","throughput":"3.70"},{"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.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 642e7c4

Please sign in to comment.