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 Sep 23, 2024
1 parent 169f9f3 commit 46b50b0
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 @@ -46,35 +46,35 @@ node ./benchmark [arguments (optional)]

* __Machine:__ linux x64 | 4 vCPUs | 15.6GB Mem
* __Node:__ `v20.17.0`
* __Run:__ Mon Sep 16 2024 01:27:41 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Sep 23 2024 01:26:51 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.17.0 || 48243.2 | 20.26 | 8.60 |
| polka | 0.5.2 || 47101.6 | 20.73 | 8.40 |
| connect | 3.7.0 | | 46603.2 | 20.95 | 8.31 |
| server-base-router | 7.1.32 || 46364.0 | 21.07 | 8.27 |
| fastify | 4.28.1 || 46177.6 | 21.15 | 8.28 |
| rayo | 1.4.6 | | 46012.0 | 21.23 | 8.21 |
| kita | 1.1.36 | | 45868.0 | 21.30 | 8.22 |
| server-base | 7.1.32 | | 45548.0 | 21.45 | 8.12 |
| polkadot | 1.0.0 || 44878.4 | 21.79 | 8.00 |
| 0http | 3.5.3 || 43539.2 | 22.47 | 7.76 |
| connect-router | 1.3.8 || 43507.2 | 22.48 | 7.76 |
| h3 | 1.12.0 || 41072.8 | 23.84 | 7.32 |
| h3-router | 1.12.0 || 41065.6 | 23.85 | 7.32 |
| hono | 4.6.1 || 40021.6 | 24.48 | 7.14 |
| restana | 4.9.9 || 39527.0 | 24.81 | 7.05 |
| koa | 2.15.3 || 37715.0 | 26.03 | 6.73 |
| take-five | 2.0.0 || 34956.6 | 28.11 | 12.57 |
| koa-isomorphic-router | 1.0.1 || 34453.0 | 28.52 | 6.14 |
| restify | 11.1.0 || 34172.0 | 28.76 | 6.16 |
| koa-router | 12.0.1 || 33996.8 | 28.92 | 6.06 |
| hapi | 21.3.10 || 32063.2 | 30.67 | 5.72 |
| fastify-big-json | 4.28.1 || 11859.4 | 83.74 | 136.45 |
| express | 4.21.0 || 10485.8 | 94.73 | 1.87 |
| express-with-middlewares | 4.21.0 || 10062.1 | 98.78 | 3.74 |
| bare | v20.17.0 || 48058.4 | 20.31 | 8.57 |
| fastify | 4.28.1 || 47281.6 | 20.64 | 8.48 |
| kita | 1.1.36 | | 46831.2 | 20.85 | 8.40 |
| polka | 0.5.2 || 46695.2 | 20.90 | 8.33 |
| 0http | 3.5.3 || 46646.4 | 20.94 | 8.32 |
| connect | 3.7.0 | | 46502.2 | 20.98 | 8.29 |
| polkadot | 1.0.0 | | 45815.2 | 21.33 | 8.17 |
| rayo | 1.4.6 | | 45787.2 | 21.34 | 8.17 |
| server-base | 7.1.32 || 45558.4 | 21.45 | 8.13 |
| server-base-router | 7.1.32 || 45060.0 | 21.71 | 8.04 |
| connect-router | 1.3.8 || 43772.8 | 22.33 | 7.81 |
| h3 | 1.12.0 || 42745.6 | 22.90 | 7.62 |
| h3-router | 1.12.0 || 40952.0 | 23.92 | 7.30 |
| restana | 4.9.9 || 40174.4 | 24.39 | 7.16 |
| hono | 4.6.2 || 39786.4 | 24.64 | 7.10 |
| koa | 2.15.3 || 37342.6 | 26.26 | 6.66 |
| take-five | 2.0.0 || 35448.2 | 27.71 | 12.74 |
| koa-isomorphic-router | 1.0.1 || 35410.8 | 27.72 | 6.32 |
| restify | 11.1.0 || 34499.0 | 28.48 | 6.22 |
| koa-router | 12.0.1 || 34192.6 | 28.74 | 6.10 |
| hapi | 21.3.10 || 31905.8 | 30.84 | 5.69 |
| fastify-big-json | 4.28.1 || 11831.2 | 83.94 | 136.12 |
| express | 4.21.0 || 11050.4 | 89.90 | 1.97 |
| express-with-middlewares | 4.21.0 || 10270.5 | 96.77 | 3.82 |
| 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.17.0","requests":"48243.2","latency":"20.26","throughput":"8.60"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"47101.6","latency":"20.73","throughput":"8.40"},{"name":"connect","version":"3.7.0","requests":"46603.2","latency":"20.95","throughput":"8.31"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"46364.0","latency":"21.07","throughput":"8.27"},{"name":"fastify","version":"4.28.1","hasRouter":true,"requests":"46177.6","latency":"21.15","throughput":"8.28"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"46012.0","latency":"21.23","throughput":"8.21"},{"name":"kita","version":"1.1.36","hasRouter":true,"requests":"45868.0","latency":"21.30","throughput":"8.22"},{"name":"server-base","version":"7.1.32","requests":"45548.0","latency":"21.45","throughput":"8.12"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"44878.4","latency":"21.79","throughput":"8.00"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"43539.2","latency":"22.47","throughput":"7.76"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43507.2","latency":"22.48","throughput":"7.76"},{"name":"h3","version":"1.12.0","requests":"41072.8","latency":"23.84","throughput":"7.32"},{"name":"h3-router","version":"1.12.0","hasRouter":true,"requests":"41065.6","latency":"23.85","throughput":"7.32"},{"name":"hono","version":"4.6.1","hasRouter":true,"requests":"40021.6","latency":"24.48","throughput":"7.14"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"39527.0","latency":"24.81","throughput":"7.05"},{"name":"koa","version":"2.15.3","requests":"37715.0","latency":"26.03","throughput":"6.73"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"34956.6","latency":"28.11","throughput":"12.57"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"34453.0","latency":"28.52","throughput":"6.14"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34172.0","latency":"28.76","throughput":"6.16"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"33996.8","latency":"28.92","throughput":"6.06"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"32063.2","latency":"30.67","throughput":"5.72"},{"name":"fastify-big-json","version":"4.28.1","hasRouter":true,"requests":"11859.4","latency":"83.74","throughput":"136.45"},{"name":"express","version":"4.21.0","hasRouter":true,"requests":"10485.8","latency":"94.73","throughput":"1.87"},{"name":"express-with-middlewares","version":"4.21.0","hasRouter":true,"requests":"10062.1","latency":"98.78","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.17.0","requests":"48058.4","latency":"20.31","throughput":"8.57"},{"name":"fastify","version":"4.28.1","hasRouter":true,"requests":"47281.6","latency":"20.64","throughput":"8.48"},{"name":"kita","version":"1.1.36","hasRouter":true,"requests":"46831.2","latency":"20.85","throughput":"8.40"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"46695.2","latency":"20.90","throughput":"8.33"},{"name":"0http","version":"3.5.3","hasRouter":true,"requests":"46646.4","latency":"20.94","throughput":"8.32"},{"name":"connect","version":"3.7.0","requests":"46502.2","latency":"20.98","throughput":"8.29"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45815.2","latency":"21.33","throughput":"8.17"},{"name":"rayo","version":"1.4.6","hasRouter":true,"requests":"45787.2","latency":"21.34","throughput":"8.17"},{"name":"server-base","version":"7.1.32","requests":"45558.4","latency":"21.45","throughput":"8.13"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"45060.0","latency":"21.71","throughput":"8.04"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43772.8","latency":"22.33","throughput":"7.81"},{"name":"h3","version":"1.12.0","requests":"42745.6","latency":"22.90","throughput":"7.62"},{"name":"h3-router","version":"1.12.0","hasRouter":true,"requests":"40952.0","latency":"23.92","throughput":"7.30"},{"name":"restana","version":"4.9.9","hasRouter":true,"requests":"40174.4","latency":"24.39","throughput":"7.16"},{"name":"hono","version":"4.6.2","hasRouter":true,"requests":"39786.4","latency":"24.64","throughput":"7.10"},{"name":"koa","version":"2.15.3","requests":"37342.6","latency":"26.26","throughput":"6.66"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35448.2","latency":"27.71","throughput":"12.74"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35410.8","latency":"27.72","throughput":"6.32"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34499.0","latency":"28.48","throughput":"6.22"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"34192.6","latency":"28.74","throughput":"6.10"},{"name":"hapi","version":"21.3.10","hasRouter":true,"requests":"31905.8","latency":"30.84","throughput":"5.69"},{"name":"fastify-big-json","version":"4.28.1","hasRouter":true,"requests":"11831.2","latency":"83.94","throughput":"136.12"},{"name":"express","version":"4.21.0","hasRouter":true,"requests":"11050.4","latency":"89.90","throughput":"1.97"},{"name":"express-with-middlewares","version":"4.21.0","hasRouter":true,"requests":"10270.5","latency":"96.77","throughput":"3.82"},{"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 46b50b0

Please sign in to comment.