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 16, 2024
1 parent 4324cff commit 5cb2577
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.10.0`
* __Run:__ Tue Jan 16 2024 16:08:52 GMT+0000 (Coordinated Universal Time)
* __Run:__ Tue Jan 16 2024 18:05:24 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 |
| :-- | --: | --: | :-: | --: | --: |
| 0http | 3.5.2 | | 48845.6 | 19.98 | 8.71 |
| h3 | 1.10.0 || 48424.8 | 20.15 | 8.64 |
| h3-router | 1.10.0 || 46867.2 | 20.84 | 8.36 |
| bare | v20.10.0 || 46350.4 | 21.07 | 8.27 |
| fastify | 4.25.2 || 45509.6 | 21.47 | 8.16 |
| connect | 3.7.0 || 45507.2 | 21.47 | 8.12 |
| polkadot | 1.0.0 | | 44734.4 | 21.86 | 7.98 |
| rayo | 1.4.6 || 44185.6 | 22.14 | 7.88 |
| polka | 0.5.2 | | 44161.6 | 22.14 | 7.88 |
| server-base | 7.1.32 | | 44139.2 | 22.15 | 7.87 |
| server-base-router | 7.1.32 || 43397.6 | 22.54 | 7.74 |
| connect-router | 1.3.8 || 41676.0 | 23.50 | 7.43 |
| restana | 4.9.7 | | 40363.2 | 24.27 | 7.20 |
| koa | 2.15.0 | | 36647.0 | 26.77 | 6.54 |
| hono | 3.12.5 || 36610.6 | 26.81 | 6.53 |
| take-five | 2.0.0 || 34280.2 | 28.66 | 12.33 |
| koa-isomorphic-router | 1.0.1 || 34097.2 | 28.82 | 6.08 |
| restify | 11.1.0 || 33758.4 | 29.12 | 6.08 |
| koa-router | 12.0.1 || 33145.2 | 29.66 | 5.91 |
| hapi | 21.3.2 || 30300.8 | 32.48 | 5.40 |
| fastify-big-json | 4.25.2 || 11394.4 | 87.19 | 131.09 |
| express | 4.18.2 || 10633.6 | 93.48 | 1.90 |
| express-with-middlewares | 4.18.2 || 10036.2 | 99.04 | 3.73 |
| polkadot | 1.0.0 | | 52945.6 | 18.40 | 9.44 |
| h3 | 1.10.0 || 48228.8 | 20.24 | 8.60 |
| h3-router | 1.10.0 || 47576.8 | 20.52 | 8.48 |
| bare | v20.10.0 || 44925.6 | 21.76 | 8.01 |
| polka | 0.5.2 || 44717.6 | 21.87 | 7.98 |
| connect | 3.7.0 || 44088.8 | 22.18 | 7.86 |
| fastify | 4.25.2 | | 43981.6 | 22.24 | 7.88 |
| rayo | 1.4.6 || 42450.4 | 23.05 | 7.57 |
| server-base | 7.1.32 | | 41624.8 | 23.53 | 7.42 |
| server-base-router | 7.1.32 | | 41374.4 | 23.67 | 7.38 |
| connect-router | 1.3.8 || 41240.0 | 23.75 | 7.35 |
| restana | 4.9.7 || 40172.8 | 24.39 | 7.16 |
| koa | 2.15.0 | | 36089.8 | 27.21 | 6.44 |
| 0http | 3.5.2 | | 35573.2 | 27.61 | 6.34 |
| hono | 3.12.5 || 35538.0 | 27.63 | 6.34 |
| koa-isomorphic-router | 1.0.1 || 33092.4 | 29.71 | 5.90 |
| restify | 11.1.0 || 32525.6 | 30.23 | 5.86 |
| take-five | 2.0.0 || 31935.0 | 30.81 | 11.48 |
| koa-router | 12.0.1 || 31374.0 | 31.37 | 5.59 |
| hapi | 21.3.2 || 30536.8 | 32.24 | 5.45 |
| fastify-big-json | 4.25.2 || 11225.8 | 88.50 | 129.14 |
| express | 4.18.2 || 10878.4 | 91.33 | 1.94 |
| express-with-middlewares | 4.18.2 || 10029.8 | 99.12 | 3.73 |
| 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":"0http","version":"3.5.2","hasRouter":true,"requests":"48845.6","latency":"19.98","throughput":"8.71"},{"name":"h3","version":"1.10.0","requests":"48424.8","latency":"20.15","throughput":"8.64"},{"name":"h3-router","version":"1.10.0","hasRouter":true,"requests":"46867.2","latency":"20.84","throughput":"8.36"},{"name":"bare","version":"v20.10.0","requests":"46350.4","latency":"21.07","throughput":"8.27"},{"name":"fastify","version":"4.25.2","hasRouter":true,"requests":"45509.6","latency":"21.47","throughput":"8.16"},{"name":"connect","version":"3.7.0","requests":"45507.2","latency":"21.47","throughput":"8.12"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44734.4","latency":"21.86","throughput":"7.98"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44185.6","latency":"22.14","throughput":"7.88"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"44161.6","latency":"22.14","throughput":"7.88"},{"name":"server-base","version":"7.1.32","requests":"44139.2","latency":"22.15","throughput":"7.87"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"43397.6","latency":"22.54","throughput":"7.74"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41676.0","latency":"23.50","throughput":"7.43"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"40363.2","latency":"24.27","throughput":"7.20"},{"name":"koa","version":"2.15.0","requests":"36647.0","latency":"26.77","throughput":"6.54"},{"name":"hono","version":"3.12.5","hasRouter":true,"requests":"36610.6","latency":"26.81","throughput":"6.53"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34280.2","latency":"28.66","throughput":"12.33"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34097.2","latency":"28.82","throughput":"6.08"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33758.4","latency":"29.12","throughput":"6.08"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33145.2","latency":"29.66","throughput":"5.91"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"30300.8","latency":"32.48","throughput":"5.40"},{"name":"fastify-big-json","version":"4.25.2","hasRouter":true,"requests":"11394.4","latency":"87.19","throughput":"131.09"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10633.6","latency":"93.48","throughput":"1.90"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"10036.2","latency":"99.04","throughput":"3.73"},{"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"}]
[{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"52945.6","latency":"18.40","throughput":"9.44"},{"name":"h3","version":"1.10.0","requests":"48228.8","latency":"20.24","throughput":"8.60"},{"name":"h3-router","version":"1.10.0","hasRouter":true,"requests":"47576.8","latency":"20.52","throughput":"8.48"},{"name":"bare","version":"v20.10.0","requests":"44925.6","latency":"21.76","throughput":"8.01"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"44717.6","latency":"21.87","throughput":"7.98"},{"name":"connect","version":"3.7.0","requests":"44088.8","latency":"22.18","throughput":"7.86"},{"name":"fastify","version":"4.25.2","hasRouter":true,"requests":"43981.6","latency":"22.24","throughput":"7.88"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"42450.4","latency":"23.05","throughput":"7.57"},{"name":"server-base","version":"7.1.32","requests":"41624.8","latency":"23.53","throughput":"7.42"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"41374.4","latency":"23.67","throughput":"7.38"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"41240.0","latency":"23.75","throughput":"7.35"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"40172.8","latency":"24.39","throughput":"7.16"},{"name":"koa","version":"2.15.0","requests":"36089.8","latency":"27.21","throughput":"6.44"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"35573.2","latency":"27.61","throughput":"6.34"},{"name":"hono","version":"3.12.5","hasRouter":true,"requests":"35538.0","latency":"27.63","throughput":"6.34"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33092.4","latency":"29.71","throughput":"5.90"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"32525.6","latency":"30.23","throughput":"5.86"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"31935.0","latency":"30.81","throughput":"11.48"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"31374.0","latency":"31.37","throughput":"5.59"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"30536.8","latency":"32.24","throughput":"5.45"},{"name":"fastify-big-json","version":"4.25.2","hasRouter":true,"requests":"11225.8","latency":"88.50","throughput":"129.14"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10878.4","latency":"91.33","throughput":"1.94"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"10029.8","latency":"99.12","throughput":"3.73"},{"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 5cb2577

Please sign in to comment.