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 11, 2023
1 parent 7a6d044 commit dae5f56
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,37 +43,37 @@ benchmark [arguments (optional)]

* __Machine:__ linux x64 | 2 vCPUs | 6.8GB Mem
* __Node:__ `v18.17.1`
* __Run:__ Mon Sep 04 2023 01:37:42 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Sep 11 2023 01:37:31 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 |
| :-- | --: | --: | :-: | --: | --: |
| polka | 0.5.2 | | 50903.2 | 19.16 | 9.08 |
| fastify | 4.22.2 || 50540.0 | 19.29 | 9.06 |
| bare | 10.13.0 || 50436.0 | 19.33 | 8.99 |
| connect | 3.7.0 || 48616.8 | 20.07 | 8.67 |
| server-base-router | 7.1.32 || 47767.2 | 20.42 | 8.52 |
| server-base | 7.1.32 | | 47687.2 | 20.47 | 8.50 |
| yeps | 1.1.1 || 46629.6 | 20.94 | 8.32 |
| connect-router | 1.3.8 | | 45685.6 | 21.39 | 8.15 |
| restana | 4.9.7 || 45649.6 | 21.39 | 8.14 |
| spirit | 0.6.1 || 44764.8 | 21.87 | 7.98 |
| vapr | 0.6.0 || 44040.0 | 22.21 | 7.22 |
| polkadot | 1.0.0 | | 42017.6 | 23.31 | 7.49 |
| spirit-router | 0.5.0 || 41329.4 | 23.70 | 7.37 |
| 0http | 3.5.2 || 39705.4 | 24.70 | 7.08 |
| koa | 2.14.2 | | 39351.0 | 24.93 | 7.02 |
| h3 | 1.8.1 || 37932.6 | 25.88 | 6.22 |
| h3-router | 1.8.1 | | 37869.4 | 25.92 | 6.21 |
| take-five | 2.0.0 || 37608.6 | 26.08 | 13.52 |
| koa-isomorphic-router | 1.0.1 || 37211.4 | 26.38 | 6.64 |
| yeps-router | 1.2.0 || 36732.2 | 26.74 | 6.55 |
| restify | 11.1.0 || 36643.8 | 26.77 | 6.60 |
| koa-router | 12.0.0 || 34657.8 | 28.36 | 6.18 |
| hapi | 21.3.2 || 32528.6 | 30.24 | 5.80 |
| express | 4.18.2 || 11482.4 | 86.53 | 2.05 |
| fastify-big-json | 4.22.2 || 11021.2 | 90.21 | 126.81 |
| express-with-middlewares | 4.18.2 || 10083.1 | 98.63 | 3.75 |
| bare | 10.13.0 | | 25743.6 | 38.35 | 4.59 |
| polka | 0.5.2 || 25648.4 | 38.48 | 4.57 |
| spirit | 0.6.1 || 25080.0 | 39.45 | 4.47 |
| server-base | 7.1.32 || 24656.8 | 40.04 | 4.40 |
| fastify | 4.22.2 || 24595.6 | 40.15 | 4.41 |
| spirit-router | 0.5.0 | | 24319.6 | 40.63 | 4.34 |
| connect | 3.7.0 || 22838.9 | 43.30 | 4.07 |
| yeps | 1.1.1 | | 22699.6 | 43.59 | 4.05 |
| connect-router | 1.3.8 || 22587.1 | 43.76 | 4.03 |
| polkadot | 1.0.0 || 21994.4 | 44.98 | 3.92 |
| server-base-router | 7.1.32 || 21633.2 | 45.70 | 3.86 |
| h3-router | 1.8.1 | | 20485.5 | 48.32 | 3.36 |
| restana | 4.9.7 || 20107.7 | 49.21 | 3.59 |
| yeps-router | 1.2.0 || 19956.5 | 49.59 | 3.56 |
| vapr | 0.6.0 | | 19828.3 | 49.90 | 3.25 |
| koa | 2.14.2 || 19585.9 | 50.55 | 3.49 |
| h3 | 1.8.1 | | 19543.9 | 50.65 | 3.21 |
| restify | 11.1.0 || 19285.7 | 51.35 | 3.48 |
| 0http | 3.5.2 || 19073.3 | 51.95 | 3.40 |
| koa-isomorphic-router | 1.0.1 || 19056.3 | 51.95 | 3.40 |
| take-five | 2.0.0 || 18545.1 | 53.41 | 6.67 |
| koa-router | 12.0.0 || 17220.7 | 57.55 | 3.07 |
| hapi | 21.3.2 || 16347.7 | 60.65 | 2.92 |
| express | 4.18.2 || 5908.5 | 168.49 | 1.05 |
| fastify-big-json | 4.22.2 || 5576.1 | 178.68 | 64.15 |
| express-with-middlewares | 4.18.2 || 5150.3 | 193.36 | 1.92 |
| foxify | 0.10.20 || N/A | N/A | N/A |
| galatajs | 0.1.1 || N/A | N/A | N/A |
| micro-route | 2.5.0 || 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":"polka","version":"0.5.2","hasRouter":true,"requests":"50903.2","latency":"19.16","throughput":"9.08"},{"name":"fastify","version":"4.22.2","hasRouter":true,"requests":"50540.0","latency":"19.29","throughput":"9.06"},{"name":"bare","version":"10.13.0","requests":"50436.0","latency":"19.33","throughput":"8.99"},{"name":"connect","version":"3.7.0","requests":"48616.8","latency":"20.07","throughput":"8.67"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"47767.2","latency":"20.42","throughput":"8.52"},{"name":"server-base","version":"7.1.32","requests":"47687.2","latency":"20.47","throughput":"8.50"},{"name":"yeps","version":"1.1.1","requests":"46629.6","latency":"20.94","throughput":"8.32"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"45685.6","latency":"21.39","throughput":"8.15"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"45649.6","latency":"21.39","throughput":"8.14"},{"name":"spirit","version":"0.6.1","requests":"44764.8","latency":"21.87","throughput":"7.98"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"44040.0","latency":"22.21","throughput":"7.22"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"42017.6","latency":"23.31","throughput":"7.49"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"41329.4","latency":"23.70","throughput":"7.37"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"39705.4","latency":"24.70","throughput":"7.08"},{"name":"koa","version":"2.14.2","requests":"39351.0","latency":"24.93","throughput":"7.02"},{"name":"h3","version":"1.8.1","requests":"37932.6","latency":"25.88","throughput":"6.22"},{"name":"h3-router","version":"1.8.1","hasRouter":true,"requests":"37869.4","latency":"25.92","throughput":"6.21"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"37608.6","latency":"26.08","throughput":"13.52"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"37211.4","latency":"26.38","throughput":"6.64"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"36732.2","latency":"26.74","throughput":"6.55"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"36643.8","latency":"26.77","throughput":"6.60"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"34657.8","latency":"28.36","throughput":"6.18"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"32528.6","latency":"30.24","throughput":"5.80"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"11482.4","latency":"86.53","throughput":"2.05"},{"name":"fastify-big-json","version":"4.22.2","hasRouter":true,"requests":"11021.2","latency":"90.21","throughput":"126.81"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"10083.1","latency":"98.63","throughput":"3.75"},{"name":"foxify","version":"0.10.20","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"galatajs","version":"0.1.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"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":"total.js","version":"3.4.13","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"trpc-router","version":"10.38.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"bare","version":"10.13.0","requests":"25743.6","latency":"38.35","throughput":"4.59"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"25648.4","latency":"38.48","throughput":"4.57"},{"name":"spirit","version":"0.6.1","requests":"25080.0","latency":"39.45","throughput":"4.47"},{"name":"server-base","version":"7.1.32","requests":"24656.8","latency":"40.04","throughput":"4.40"},{"name":"fastify","version":"4.22.2","hasRouter":true,"requests":"24595.6","latency":"40.15","throughput":"4.41"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"24319.6","latency":"40.63","throughput":"4.34"},{"name":"connect","version":"3.7.0","requests":"22838.9","latency":"43.30","throughput":"4.07"},{"name":"yeps","version":"1.1.1","requests":"22699.6","latency":"43.59","throughput":"4.05"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"22587.1","latency":"43.76","throughput":"4.03"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"21994.4","latency":"44.98","throughput":"3.92"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"21633.2","latency":"45.70","throughput":"3.86"},{"name":"h3-router","version":"1.8.1","hasRouter":true,"requests":"20485.5","latency":"48.32","throughput":"3.36"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"20107.7","latency":"49.21","throughput":"3.59"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"19956.5","latency":"49.59","throughput":"3.56"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"19828.3","latency":"49.90","throughput":"3.25"},{"name":"koa","version":"2.14.2","requests":"19585.9","latency":"50.55","throughput":"3.49"},{"name":"h3","version":"1.8.1","requests":"19543.9","latency":"50.65","throughput":"3.21"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"19285.7","latency":"51.35","throughput":"3.48"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"19073.3","latency":"51.95","throughput":"3.40"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"19056.3","latency":"51.95","throughput":"3.40"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"18545.1","latency":"53.41","throughput":"6.67"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"17220.7","latency":"57.55","throughput":"3.07"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"16347.7","latency":"60.65","throughput":"2.92"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"5908.5","latency":"168.49","throughput":"1.05"},{"name":"fastify-big-json","version":"4.22.2","hasRouter":true,"requests":"5576.1","latency":"178.68","throughput":"64.15"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"5150.3","latency":"193.36","throughput":"1.92"},{"name":"foxify","version":"0.10.20","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"galatajs","version":"0.1.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"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":"total.js","version":"3.4.13","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"},{"name":"trpc-router","version":"10.38.1","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit dae5f56

Please sign in to comment.