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 Jan 1, 2024
1 parent f4f81c0 commit 0ada4c7
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 @@ -50,35 +50,35 @@ benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.10.0`
* __Run:__ Mon Dec 25 2023 01:33:23 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Jan 01 2024 01:38:05 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 || 53237.6 | 18.29 | 9.49 |
| h3 | 1.9.0 || 47246.4 | 20.68 | 7.75 |
| h3-router | 1.9.0 || 45561.6 | 21.44 | 7.47 |
| bare | v20.10.0 | | 45444.8 | 21.50 | 8.10 |
| fastify | 4.25.2 | | 45107.2 | 21.68 | 8.09 |
| polka | 0.5.2 | | 44395.2 | 22.03 | 7.92 |
| connect | 3.7.0 | | 43881.6 | 22.29 | 7.83 |
| rayo | 1.4.5 || 43641.6 | 22.41 | 7.78 |
| server-base | 7.1.32 | | 43567.2 | 22.45 | 7.77 |
| server-base-router | 7.1.32 || 42802.4 | 22.86 | 7.63 |
| restana | 4.9.7 | | 41669.6 | 23.50 | 7.43 |
| connect-router | 1.3.8 || 40923.2 | 23.93 | 7.30 |
| 0http | 3.5.2 || 37571.8 | 26.12 | 6.70 |
| hono | 3.11.10 || 35634.2 | 27.55 | 6.35 |
| koa | 2.14.2 || 35570.6 | 27.60 | 6.34 |
| take-five | 2.0.0 || 33317.8 | 29.50 | 11.98 |
| koa-isomorphic-router | 1.0.1 || 33262.0 | 29.56 | 5.93 |
| restify | 11.1.0 || 33129.6 | 29.67 | 5.97 |
| koa-router | 12.0.1 || 32752.4 | 30.02 | 5.84 |
| hapi | 21.3.2 || 29861.2 | 32.98 | 5.33 |
| fastify-big-json | 4.25.2 || 11321.2 | 87.76 | 130.27 |
| express | 4.18.2 || 10757.0 | 92.38 | 1.92 |
| express-with-middlewares | 4.18.2 || 9862.3 | 100.78 | 3.67 |
| polkadot | 1.0.0 || 54303.2 | 17.90 | 9.68 |
| h3 | 1.9.0 || 48574.4 | 20.10 | 7.97 |
| h3-router | 1.9.0 || 47341.6 | 20.62 | 7.77 |
| 0http | 3.5.2 | | 47340.0 | 20.63 | 8.44 |
| bare | v20.10.0 | | 45638.4 | 21.40 | 8.14 |
| connect | 3.7.0 | | 45141.6 | 21.67 | 8.05 |
| fastify | 4.25.2 | | 44764.0 | 21.86 | 8.03 |
| polka | 0.5.2 || 44752.8 | 21.85 | 7.98 |
| rayo | 1.4.5 | | 43984.8 | 22.23 | 7.84 |
| server-base-router | 7.1.32 || 43621.6 | 22.42 | 7.78 |
| server-base | 7.1.32 | | 43037.6 | 22.73 | 7.68 |
| connect-router | 1.3.8 || 41197.6 | 23.77 | 7.35 |
| restana | 4.9.7 || 39789.6 | 24.64 | 7.10 |
| hono | 3.11.11 || 36112.8 | 27.18 | 6.44 |
| koa | 2.15.0 || 35968.2 | 27.32 | 6.41 |
| koa-isomorphic-router | 1.0.1 || 34639.6 | 28.38 | 6.18 |
| take-five | 2.0.0 || 34014.0 | 28.88 | 12.23 |
| restify | 11.1.0 || 33538.6 | 29.31 | 6.05 |
| koa-router | 12.0.1 || 33222.6 | 29.58 | 5.92 |
| hapi | 21.3.2 || 30760.4 | 31.98 | 5.49 |
| fastify-big-json | 4.25.2 || 11395.6 | 87.20 | 131.12 |
| express | 4.18.2 || 11017.8 | 90.18 | 1.96 |
| express-with-middlewares | 4.18.2 || 9921.8 | 100.18 | 3.69 |
| 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 |
| trpc-router | 10.44.1 || N/A | N/A | N/A |
| trpc-router | 10.45.0 || 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":"polkadot","version":"1.0.0","hasRouter":false,"requests":"53237.6","latency":"18.29","throughput":"9.49"},{"name":"h3","version":"1.9.0","requests":"47246.4","latency":"20.68","throughput":"7.75"},{"name":"h3-router","version":"1.9.0","hasRouter":true,"requests":"45561.6","latency":"21.44","throughput":"7.47"},{"name":"bare","version":"v20.10.0","requests":"45444.8","latency":"21.50","throughput":"8.10"},{"name":"fastify","version":"4.25.2","hasRouter":true,"requests":"45107.2","latency":"21.68","throughput":"8.09"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"44395.2","latency":"22.03","throughput":"7.92"},{"name":"connect","version":"3.7.0","requests":"43881.6","latency":"22.29","throughput":"7.83"},{"name":"rayo","version":"1.4.5","hasRouter":true,"requests":"43641.6","latency":"22.41","throughput":"7.78"},{"name":"server-base","version":"7.1.32","requests":"43567.2","latency":"22.45","throughput":"7.77"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"42802.4","latency":"22.86","throughput":"7.63"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"41669.6","latency":"23.50","throughput":"7.43"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"40923.2","latency":"23.93","throughput":"7.30"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"37571.8","latency":"26.12","throughput":"6.70"},{"name":"hono","version":"3.11.10","hasRouter":true,"requests":"35634.2","latency":"27.55","throughput":"6.35"},{"name":"koa","version":"2.14.2","requests":"35570.6","latency":"27.60","throughput":"6.34"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"33317.8","latency":"29.50","throughput":"11.98"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33262.0","latency":"29.56","throughput":"5.93"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33129.6","latency":"29.67","throughput":"5.97"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32752.4","latency":"30.02","throughput":"5.84"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"29861.2","latency":"32.98","throughput":"5.33"},{"name":"fastify-big-json","version":"4.25.2","hasRouter":true,"requests":"11321.2","latency":"87.76","throughput":"130.27"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10757.0","latency":"92.38","throughput":"1.92"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"9862.3","latency":"100.78","throughput":"3.67"},{"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.44.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"54303.2","latency":"17.90","throughput":"9.68"},{"name":"h3","version":"1.9.0","requests":"48574.4","latency":"20.10","throughput":"7.97"},{"name":"h3-router","version":"1.9.0","hasRouter":true,"requests":"47341.6","latency":"20.62","throughput":"7.77"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"47340.0","latency":"20.63","throughput":"8.44"},{"name":"bare","version":"v20.10.0","requests":"45638.4","latency":"21.40","throughput":"8.14"},{"name":"connect","version":"3.7.0","requests":"45141.6","latency":"21.67","throughput":"8.05"},{"name":"fastify","version":"4.25.2","hasRouter":true,"requests":"44764.0","latency":"21.86","throughput":"8.03"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"44752.8","latency":"21.85","throughput":"7.98"},{"name":"rayo","version":"1.4.5","hasRouter":true,"requests":"43984.8","latency":"22.23","throughput":"7.84"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"43621.6","latency":"22.42","throughput":"7.78"},{"name":"server-base","version":"7.1.32","requests":"43037.6","latency":"22.73","throughput":"7.68"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41197.6","latency":"23.77","throughput":"7.35"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"39789.6","latency":"24.64","throughput":"7.10"},{"name":"hono","version":"3.11.11","hasRouter":true,"requests":"36112.8","latency":"27.18","throughput":"6.44"},{"name":"koa","version":"2.15.0","requests":"35968.2","latency":"27.32","throughput":"6.41"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34639.6","latency":"28.38","throughput":"6.18"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34014.0","latency":"28.88","throughput":"12.23"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33538.6","latency":"29.31","throughput":"6.05"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33222.6","latency":"29.58","throughput":"5.92"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"30760.4","latency":"31.98","throughput":"5.49"},{"name":"fastify-big-json","version":"4.25.2","hasRouter":true,"requests":"11395.6","latency":"87.20","throughput":"131.12"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"11017.8","latency":"90.18","throughput":"1.96"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"9921.8","latency":"100.18","throughput":"3.69"},{"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.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 0ada4c7

Please sign in to comment.