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 Dec 11, 2024
1 parent 1626094 commit 0dbe1db
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,36 +69,36 @@ node ./benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.18.1`
* __Run:__ Wed Dec 11 2024 08:30:31 GMT+0000 (Coordinated Universal Time)
* __Run:__ Wed Dec 11 2024 16:09:30 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 |
| :-- | --: | --: | :-: | --: | --: |
| h3 | 1.13.0 || 52312.8 | 18.62 | 9.33 |
| bare | v20.18.1 | | 47473.6 | 20.56 | 8.47 |
| fastify | 5.1.0 | | 46431.2 | 21.03 | 8.32 |
| rayo | 1.4.6 | | 46358.4 | 21.06 | 8.27 |
| polka | 0.5.2 || 46216.0 | 21.13 | 8.24 |
| connect | 3.7.0 | | 45580.0 | 21.43 | 8.13 |
| polkadot | 1.0.0 || 45184.8 | 21.63 | 8.06 |
| micro | 10.0.1 | | 44974.4 | 21.73 | 8.02 |
| server-base | 7.1.32 | | 44952.8 | 21.75 | 8.02 |
| server-base-router | 7.1.32 | | 44593.6 | 21.94 | 7.95 |
| 0http | 3.5.3 || 44541.6 | 21.95 | 7.94 |
| connect-router | 1.3.8 | | 43272.8 | 22.59 | 7.72 |
| micro-route | 2.5.0 || 42278.4 | 23.15 | 7.54 |
| adonisjs | 7.3.0 || 41523.2 | 23.58 | 7.41 |
| h3-router | 1.13.0 || 41288.0 | 23.72 | 7.36 |
| hono | 4.6.13 || 39595.2 | 24.76 | 7.06 |
| restana | 4.9.9 || 38324.0 | 25.60 | 6.83 |
| koa | 2.15.3 || 36974.6 | 26.54 | 6.59 |
| take-five | 2.0.0 || 34907.8 | 28.14 | 12.55 |
| koa-isomorphic-router | 1.0.1 || 34699.4 | 28.29 | 6.19 |
| restify | 11.1.0 || 34225.2 | 28.71 | 6.17 |
| koa-router | 13.1.0 || 33843.6 | 29.05 | 6.04 |
| hapi | 21.3.12 || 32089.0 | 30.67 | 5.72 |
| microrouter | 3.1.3 || 30314.4 | 32.47 | 5.41 |
| fastify-big-json | 5.1.0 || 11911.8 | 83.38 | 137.04 |
| express | 5.0.1 || 9996.8 | 99.44 | 1.78 |
| express-with-middlewares | 5.0.1 || 9415.9 | 105.59 | 3.50 |
| bare | v20.18.1 || 47389.4 | 20.63 | 8.45 |
| fastify | 5.1.0 | | 47038.4 | 20.74 | 8.43 |
| connect | 3.7.0 | | 46404.8 | 21.05 | 8.28 |
| polkadot | 1.0.0 | | 46385.6 | 21.07 | 8.27 |
| rayo | 1.4.6 || 46089.6 | 21.18 | 8.22 |
| polka | 0.5.2 | | 45636.8 | 21.40 | 8.14 |
| server-base | 7.1.32 || 45285.6 | 21.59 | 8.08 |
| 0http | 3.5.3 | | 45222.4 | 21.62 | 8.07 |
| server-base-router | 7.1.32 | | 45137.6 | 21.67 | 8.05 |
| micro | 10.0.1 | | 45068.8 | 21.69 | 8.04 |
| connect-router | 1.3.8 || 43100.0 | 22.70 | 7.69 |
| h3 | 1.13.0 | | 42316.8 | 23.13 | 7.55 |
| micro-route | 2.5.0 || 42111.2 | 23.24 | 7.51 |
| adonisjs | 7.3.0 || 41692.8 | 23.49 | 7.44 |
| h3-router | 1.13.0 || 41596.0 | 23.54 | 7.42 |
| hono | 4.6.13 || 40294.4 | 24.31 | 7.19 |
| restana | 4.9.9 || 39824.0 | 24.61 | 7.10 |
| koa | 2.15.3 || 37027.0 | 26.51 | 6.60 |
| take-five | 2.0.0 || 35362.6 | 27.78 | 12.71 |
| koa-isomorphic-router | 1.0.1 || 35235.4 | 27.87 | 6.28 |
| restify | 11.1.0 || 34730.2 | 28.29 | 6.26 |
| koa-router | 13.1.0 || 34135.4 | 28.79 | 6.09 |
| hapi | 21.3.12 || 32465.4 | 30.28 | 5.79 |
| microrouter | 3.1.3 || 30832.4 | 31.93 | 5.50 |
| fastify-big-json | 5.1.0 || 12025.0 | 82.59 | 138.35 |
| express | 5.0.1 || 9998.6 | 99.43 | 1.78 |
| express-with-middlewares | 5.0.1 || 9357.1 | 106.24 | 3.48 |
| trpc-router | 10.45.2 || 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":"h3","version":"1.13.0","requests":"52312.8","latency":"18.62","throughput":"9.33"},{"name":"bare","version":"v20.18.1","requests":"47473.6","latency":"20.56","throughput":"8.47"},{"name":"fastify","version":"5.1.0","hasRouter":true,"requests":"46431.2","latency":"21.03","throughput":"8.32"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"46358.4","latency":"21.06","throughput":"8.27"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46216.0","latency":"21.13","throughput":"8.24"},{"name":"connect","version":"3.7.0","requests":"45580.0","latency":"21.43","throughput":"8.13"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45184.8","latency":"21.63","throughput":"8.06"},{"name":"micro","version":"10.0.1","requests":"44974.4","latency":"21.73","throughput":"8.02"},{"name":"server-base","version":"7.1.32","requests":"44952.8","latency":"21.75","throughput":"8.02"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"44593.6","latency":"21.94","throughput":"7.95"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44541.6","latency":"21.95","throughput":"7.94"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43272.8","latency":"22.59","throughput":"7.72"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42278.4","latency":"23.15","throughput":"7.54"},{"name":"adonisjs","version":"7.3.0","hasRouter":true,"requests":"41523.2","latency":"23.58","throughput":"7.41"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41288.0","latency":"23.72","throughput":"7.36"},{"name":"hono","version":"4.6.13","hasRouter":true,"requests":"39595.2","latency":"24.76","throughput":"7.06"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38324.0","latency":"25.60","throughput":"6.83"},{"name":"koa","version":"2.15.3","requests":"36974.6","latency":"26.54","throughput":"6.59"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34907.8","latency":"28.14","throughput":"12.55"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34699.4","latency":"28.29","throughput":"6.19"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34225.2","latency":"28.71","throughput":"6.17"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"33843.6","latency":"29.05","throughput":"6.04"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"32089.0","latency":"30.67","throughput":"5.72"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30314.4","latency":"32.47","throughput":"5.41"},{"name":"fastify-big-json","version":"5.1.0","hasRouter":true,"requests":"11911.8","latency":"83.38","throughput":"137.04"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"9996.8","latency":"99.44","throughput":"1.78"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9415.9","latency":"105.59","throughput":"3.50"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"v20.18.1","requests":"47389.4","latency":"20.63","throughput":"8.45"},{"name":"fastify","version":"5.1.0","hasRouter":true,"requests":"47038.4","latency":"20.74","throughput":"8.43"},{"name":"connect","version":"3.7.0","requests":"46404.8","latency":"21.05","throughput":"8.28"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"46385.6","latency":"21.07","throughput":"8.27"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"46089.6","latency":"21.18","throughput":"8.22"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45636.8","latency":"21.40","throughput":"8.14"},{"name":"server-base","version":"7.1.32","requests":"45285.6","latency":"21.59","throughput":"8.08"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"45222.4","latency":"21.62","throughput":"8.07"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45137.6","latency":"21.67","throughput":"8.05"},{"name":"micro","version":"10.0.1","requests":"45068.8","latency":"21.69","throughput":"8.04"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43100.0","latency":"22.70","throughput":"7.69"},{"name":"h3","version":"1.13.0","requests":"42316.8","latency":"23.13","throughput":"7.55"},{"name":"micro-route","version":"2.5.0","hasRouter":true,"requests":"42111.2","latency":"23.24","throughput":"7.51"},{"name":"adonisjs","version":"7.3.0","hasRouter":true,"requests":"41692.8","latency":"23.49","throughput":"7.44"},{"name":"h3-router","version":"1.13.0","hasRouter":true,"requests":"41596.0","latency":"23.54","throughput":"7.42"},{"name":"hono","version":"4.6.13","hasRouter":true,"requests":"40294.4","latency":"24.31","throughput":"7.19"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"39824.0","latency":"24.61","throughput":"7.10"},{"name":"koa","version":"2.15.3","requests":"37027.0","latency":"26.51","throughput":"6.60"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35362.6","latency":"27.78","throughput":"12.71"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35235.4","latency":"27.87","throughput":"6.28"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34730.2","latency":"28.29","throughput":"6.26"},{"name":"koa-router","version":"13.1.0","hasRouter":true,"requests":"34135.4","latency":"28.79","throughput":"6.09"},{"name":"hapi","version":"21.3.12","hasRouter":true,"requests":"32465.4","latency":"30.28","throughput":"5.79"},{"name":"microrouter","version":"3.1.3","hasRouter":true,"requests":"30832.4","latency":"31.93","throughput":"5.50"},{"name":"fastify-big-json","version":"5.1.0","hasRouter":true,"requests":"12025.0","latency":"82.59","throughput":"138.35"},{"name":"express","version":"5.0.1","hasRouter":true,"requests":"9998.6","latency":"99.43","throughput":"1.78"},{"name":"express-with-middlewares","version":"5.0.1","hasRouter":true,"requests":"9357.1","latency":"106.24","throughput":"3.48"},{"name":"trpc-router","version":"10.45.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 0dbe1db

Please sign in to comment.