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 Apr 22, 2024
1 parent 1f98a61 commit a478ce4
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 @@ -45,35 +45,35 @@ node ./benchmark [arguments (optional)]
# Benchmarks

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.12.1`
* __Run:__ Mon Apr 15 2024 03:53:58 GMT+0000 (Coordinated Universal Time)
* __Node:__ `v20.12.2`
* __Run:__ Mon Apr 22 2024 01:33:44 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.12.1 || 46892.0 | 20.83 | 8.36 |
| polkadot | 1.0.0 | | 45604.0 | 21.44 | 8.13 |
| polka | 0.5.2 | | 45405.6 | 21.51 | 8.10 |
| fastify | 4.26.2 | | 45164.8 | 21.64 | 8.10 |
| 0http | 3.5.3 || 45126.4 | 21.66 | 8.05 |
| rayo | 1.4.6 || 44833.6 | 21.81 | 8.00 |
| server-base | 7.1.32 || 44674.4 | 21.89 | 7.97 |
| connect | 3.7.0 | | 44626.4 | 21.91 | 7.96 |
| server-base-router | 7.1.32 || 43204.0 | 22.65 | 7.70 |
| h3 | 1.11.1 | | 42976.8 | 22.77 | 7.66 |
| connect-router | 1.3.8 | | 42652.8 | 22.94 | 7.61 |
| h3-router | 1.11.1 || 41413.6 | 23.65 | 7.39 |
| hono | 4.2.4 || 40416.0 | 24.24 | 7.21 |
| restana | 4.9.9 || 38696.0 | 25.34 | 6.90 |
| koa | 2.15.3 || 35555.8 | 27.62 | 6.34 |
| take-five | 2.0.0 || 34290.0 | 28.66 | 12.33 |
| koa-isomorphic-router | 1.0.1 || 33973.8 | 28.92 | 6.06 |
| restify | 11.1.0 || 33343.6 | 29.48 | 6.01 |
| koa-router | 12.0.1 || 32594.4 | 30.17 | 5.81 |
| hapi | 21.3.9 || 30410.0 | 32.36 | 5.42 |
| fastify-big-json | 4.26.2 || 11882.0 | 83.61 | 136.71 |
| express | 4.19.2 || 10500.6 | 94.65 | 1.87 |
| express-with-middlewares | 4.19.2 || 10055.2 | 98.85 | 3.74 |
| bare | v20.12.2 || 46896.8 | 20.82 | 8.36 |
| fastify | 4.26.2 | | 45871.2 | 21.30 | 8.22 |
| connect | 3.7.0 | | 45844.0 | 21.31 | 8.18 |
| polkadot | 1.0.0 | | 45483.2 | 21.49 | 8.11 |
| rayo | 1.4.6 || 44964.0 | 21.75 | 8.02 |
| polka | 0.5.2 || 44564.0 | 21.94 | 7.95 |
| server-base | 7.1.32 || 44480.8 | 21.99 | 7.93 |
| 0http | 3.5.3 | | 44324.8 | 22.06 | 7.90 |
| server-base-router | 7.1.32 || 43236.0 | 22.62 | 7.71 |
| connect-router | 1.3.8 | | 43136.8 | 22.68 | 7.69 |
| h3 | 1.11.1 | | 40539.2 | 24.18 | 7.23 |
| h3-router | 1.11.1 || 40508.8 | 24.18 | 7.22 |
| hono | 4.2.6 || 39608.0 | 24.74 | 7.06 |
| restana | 4.9.9 || 38464.0 | 25.49 | 6.86 |
| koa | 2.15.3 || 36555.8 | 26.85 | 6.52 |
| koa-isomorphic-router | 1.0.1 || 34586.6 | 28.39 | 6.17 |
| take-five | 2.0.0 || 33743.6 | 29.13 | 12.13 |
| restify | 11.1.0 || 33533.4 | 29.32 | 6.04 |
| koa-router | 12.0.1 || 32970.4 | 29.83 | 5.88 |
| hapi | 21.3.9 || 30278.0 | 32.51 | 5.40 |
| fastify-big-json | 4.26.2 || 11839.4 | 83.91 | 136.22 |
| express | 4.19.2 || 11080.2 | 89.67 | 1.98 |
| express-with-middlewares | 4.19.2 || 9944.2 | 99.94 | 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.12.1","requests":"46892.0","latency":"20.83","throughput":"8.36"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45604.0","latency":"21.44","throughput":"8.13"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"45405.6","latency":"21.51","throughput":"8.10"},{"name":"fastify","version":"4.26.2","hasRouter":true,"requests":"45164.8","latency":"21.64","throughput":"8.10"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"45126.4","latency":"21.66","throughput":"8.05"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44833.6","latency":"21.81","throughput":"8.00"},{"name":"server-base","version":"7.1.32","requests":"44674.4","latency":"21.89","throughput":"7.97"},{"name":"connect","version":"3.7.0","requests":"44626.4","latency":"21.91","throughput":"7.96"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"43204.0","latency":"22.65","throughput":"7.70"},{"name":"h3","version":"1.11.1","requests":"42976.8","latency":"22.77","throughput":"7.66"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"42652.8","latency":"22.94","throughput":"7.61"},{"name":"h3-router","version":"1.11.1","hasRouter":true,"requests":"41413.6","latency":"23.65","throughput":"7.39"},{"name":"hono","version":"4.2.4","hasRouter":true,"requests":"40416.0","latency":"24.24","throughput":"7.21"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38696.0","latency":"25.34","throughput":"6.90"},{"name":"koa","version":"2.15.3","requests":"35555.8","latency":"27.62","throughput":"6.34"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34290.0","latency":"28.66","throughput":"12.33"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"33973.8","latency":"28.92","throughput":"6.06"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33343.6","latency":"29.48","throughput":"6.01"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32594.4","latency":"30.17","throughput":"5.81"},{"name":"hapi","version":"21.3.9","hasRouter":true,"requests":"30410.0","latency":"32.36","throughput":"5.42"},{"name":"fastify-big-json","version":"4.26.2","hasRouter":true,"requests":"11882.0","latency":"83.61","throughput":"136.71"},{"name":"express","version":"4.19.2","hasRouter":true,"requests":"10500.6","latency":"94.65","throughput":"1.87"},{"name":"express-with-middlewares","version":"4.19.2","hasRouter":true,"requests":"10055.2","latency":"98.85","throughput":"3.74"},{"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.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"v20.12.2","requests":"46896.8","latency":"20.82","throughput":"8.36"},{"name":"fastify","version":"4.26.2","hasRouter":true,"requests":"45871.2","latency":"21.30","throughput":"8.22"},{"name":"connect","version":"3.7.0","requests":"45844.0","latency":"21.31","throughput":"8.18"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45483.2","latency":"21.49","throughput":"8.11"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"44964.0","latency":"21.75","throughput":"8.02"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"44564.0","latency":"21.94","throughput":"7.95"},{"name":"server-base","version":"7.1.32","requests":"44480.8","latency":"21.99","throughput":"7.93"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"44324.8","latency":"22.06","throughput":"7.90"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"43236.0","latency":"22.62","throughput":"7.71"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43136.8","latency":"22.68","throughput":"7.69"},{"name":"h3","version":"1.11.1","requests":"40539.2","latency":"24.18","throughput":"7.23"},{"name":"h3-router","version":"1.11.1","hasRouter":true,"requests":"40508.8","latency":"24.18","throughput":"7.22"},{"name":"hono","version":"4.2.6","hasRouter":true,"requests":"39608.0","latency":"24.74","throughput":"7.06"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"38464.0","latency":"25.49","throughput":"6.86"},{"name":"koa","version":"2.15.3","requests":"36555.8","latency":"26.85","throughput":"6.52"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34586.6","latency":"28.39","throughput":"6.17"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"33743.6","latency":"29.13","throughput":"12.13"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"33533.4","latency":"29.32","throughput":"6.04"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"32970.4","latency":"29.83","throughput":"5.88"},{"name":"hapi","version":"21.3.9","hasRouter":true,"requests":"30278.0","latency":"32.51","throughput":"5.40"},{"name":"fastify-big-json","version":"4.26.2","hasRouter":true,"requests":"11839.4","latency":"83.91","throughput":"136.22"},{"name":"express","version":"4.19.2","hasRouter":true,"requests":"11080.2","latency":"89.67","throughput":"1.98"},{"name":"express-with-middlewares","version":"4.19.2","hasRouter":true,"requests":"9944.2","latency":"99.94","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.2","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit a478ce4

Please sign in to comment.