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 b9d2d75 commit 4324cff
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:__ Mon Jan 15 2024 01:36:16 GMT+0000 (Coordinated Universal Time)
* __Run:__ Tue Jan 16 2024 16:08:52 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 | | 54210.4 | 17.95 | 9.67 |
| h3 | 1.10.0 || 47981.6 | 20.35 | 7.87 |
| 0http | 3.5.2 || 47063.2 | 20.76 | 8.39 |
| bare | v20.10.0 || 45953.6 | 21.26 | 8.19 |
| h3-router | 1.10.0 || 45524.0 | 21.47 | 7.47 |
| fastify | 4.25.2 | | 45250.4 | 21.60 | 8.11 |
| polka | 0.5.2 | | 44788.8 | 21.84 | 7.99 |
| connect | 3.7.0 | | 44737.6 | 21.86 | 7.98 |
| rayo | 1.4.5 || 44646.4 | 21.91 | 7.96 |
| server-base-router | 7.1.32 | | 44302.4 | 22.07 | 7.90 |
| server-base | 7.1.32 | | 42556.0 | 23.00 | 7.59 |
| restana | 4.9.7 || 40946.4 | 23.92 | 7.30 |
| connect-router | 1.3.8 || 40934.4 | 23.93 | 7.30 |
| koa | 2.15.0 || 36651.2 | 26.77 | 6.54 |
| hono | 3.12.3 || 36272.2 | 27.06 | 6.47 |
| koa-isomorphic-router | 1.0.1 || 34476.4 | 28.51 | 6.15 |
| restify | 11.1.0 || 33902.6 | 28.99 | 6.11 |
| take-five | 2.0.0 || 33856.0 | 29.03 | 12.17 |
| koa-router | 12.0.1 || 33019.0 | 29.78 | 5.89 |
| hapi | 21.3.2 || 28967.2 | 34.01 | 5.17 |
| fastify-big-json | 4.25.2 || 11581.4 | 85.75 | 133.25 |
| express | 4.18.2 || 10729.0 | 92.62 | 1.91 |
| express-with-middlewares | 4.18.2 || 9845.2 | 100.98 | 3.66 |
| 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 |
| 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":"54210.4","latency":"17.95","throughput":"9.67"},{"name":"h3","version":"1.10.0","requests":"47981.6","latency":"20.35","throughput":"7.87"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"47063.2","latency":"20.76","throughput":"8.39"},{"name":"bare","version":"v20.10.0","requests":"45953.6","latency":"21.26","throughput":"8.19"},{"name":"h3-router","version":"1.10.0","hasRouter":true,"requests":"45524.0","latency":"21.47","throughput":"7.47"},{"name":"fastify","version":"4.25.2","hasRouter":true,"requests":"45250.4","latency":"21.60","throughput":"8.11"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"44788.8","latency":"21.84","throughput":"7.99"},{"name":"connect","version":"3.7.0","requests":"44737.6","latency":"21.86","throughput":"7.98"},{"name":"rayo","version":"1.4.5","hasRouter":true,"requests":"44646.4","latency":"21.91","throughput":"7.96"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44302.4","latency":"22.07","throughput":"7.90"},{"name":"server-base","version":"7.1.32","requests":"42556.0","latency":"23.00","throughput":"7.59"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"40946.4","latency":"23.92","throughput":"7.30"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"40934.4","latency":"23.93","throughput":"7.30"},{"name":"koa","version":"2.15.0","requests":"36651.2","latency":"26.77","throughput":"6.54"},{"name":"hono","version":"3.12.3","hasRouter":true,"requests":"36272.2","latency":"27.06","throughput":"6.47"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34476.4","latency":"28.51","throughput":"6.15"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33902.6","latency":"28.99","throughput":"6.11"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"33856.0","latency":"29.03","throughput":"12.17"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33019.0","latency":"29.78","throughput":"5.89"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"28967.2","latency":"34.01","throughput":"5.17"},{"name":"fastify-big-json","version":"4.25.2","hasRouter":true,"requests":"11581.4","latency":"85.75","throughput":"133.25"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10729.0","latency":"92.62","throughput":"1.91"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"9845.2","latency":"100.98","throughput":"3.66"},{"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":"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"}]

0 comments on commit 4324cff

Please sign in to comment.