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 2, 2023
1 parent fc2de5c commit 8ff7e9b
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 @@ -43,38 +43,38 @@ benchmark [arguments (optional)]

* __Machine:__ linux x64 | 2 vCPUs | 6.8GB Mem
* __Node:__ `v18.12.1`
* __Run:__ Tue Dec 27 2022 20:28:38 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Jan 02 2023 01:48:21 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 || 42500.0 | 23.08 | 7.58 |
| bare | 10.13.0 || 42147.2 | 23.30 | 7.52 |
| polka | 0.5.2 | | 40861.8 | 24.03 | 7.29 |
| fastify | 4.10.2 || 39630.2 | 24.77 | 7.11 |
| h3 | 1.0.2 | | 39368.2 | 24.97 | 6.46 |
| server-base-router | 7.1.32 | | 38838.4 | 25.28 | 6.93 |
| connect-router | 1.3.7 | | 38401.6 | 25.59 | 6.85 |
| server-base | 7.1.32 | | 38078.2 | 25.84 | 6.79 |
| yeps | 1.1.1 | | 37771.4 | 26.05 | 6.74 |
| connect | 3.7.0 || 37518.8 | 26.21 | 6.69 |
| vapr | 0.6.0 || 35545.8 | 27.69 | 5.83 |
| restana | 4.9.7 | | 35195.4 | 27.94 | 6.28 |
| spirit | 0.6.1 | | 35037.0 | 28.12 | 6.25 |
| spirit-router | 0.5.0 || 33051.0 | 29.83 | 5.89 |
| koa | 2.14.1 || 31701.2 | 31.09 | 5.65 |
| yeps-router | 1.2.0 || 30818.6 | 31.99 | 5.50 |
| koa-isomorphic-router | 1.0.1 || 30164.0 | 32.69 | 5.38 |
| h3-router | 1.0.2 || 29772.6 | 33.14 | 4.88 |
| take-five | 2.0.0 || 29277.6 | 33.71 | 10.53 |
| restify | 10.0.0 || 28861.3 | 34.22 | 5.20 |
| 0http | v3.4.2 || 28257.6 | 34.92 | 5.04 |
| koa-router | 12.0.0 || 27835.6 | 35.46 | 4.96 |
| hapi | 21.1.0 || 26175.2 | 37.71 | 4.67 |
| express | 4.18.2 || 9043.0 | 109.98 | 1.61 |
| express-with-middlewares | 4.18.2 || 8030.4 | 123.87 | 2.99 |
| fastify-big-json | 4.10.2 || 7394.9 | 134.58 | 85.08 |
| trpc-router | 10.7.0 || 5381.7 | 185.06 | 1.61 |
| polkadot | 1.0.0 || 55361.6 | 17.59 | 9.87 |
| h3 | 1.0.2 || 51929.6 | 18.78 | 8.52 |
| bare | 10.13.0 | | 51567.2 | 18.91 | 9.20 |
| h3-router | 1.0.2 || 51539.2 | 18.92 | 8.45 |
| polka | 0.5.2 | | 50164.8 | 19.46 | 8.95 |
| connect | 3.7.0 | | 49320.0 | 19.81 | 8.79 |
| yeps | 1.1.1 | | 48857.6 | 19.97 | 8.71 |
| server-base-router | 7.1.32 | | 48639.2 | 20.07 | 8.67 |
| fastify | 4.11.0 | | 48241.6 | 20.25 | 8.65 |
| server-base | 7.1.32 || 48037.6 | 20.35 | 8.57 |
| connect-router | 1.3.7 || 44389.4 | 22.06 | 7.92 |
| spirit | 0.6.1 | | 44186.4 | 22.16 | 7.88 |
| vapr | 0.6.0 | | 44096.0 | 22.18 | 7.23 |
| spirit-router | 0.5.0 || 43112.8 | 22.71 | 7.69 |
| koa | 2.14.1 || 39428.2 | 24.88 | 7.03 |
| 0http | v3.4.2 || 38684.0 | 25.38 | 6.90 |
| yeps-router | 1.2.0 || 38130.2 | 25.73 | 6.80 |
| take-five | 2.0.0 || 37106.2 | 26.48 | 13.34 |
| koa-isomorphic-router | 1.0.1 || 36935.4 | 26.61 | 6.59 |
| restify | 10.0.0 || 36459.4 | 26.94 | 6.57 |
| koa-router | 12.0.0 || 35117.4 | 27.99 | 6.26 |
| restana | 4.9.7 || 34654.2 | 28.38 | 6.18 |
| hapi | 21.1.0 || 33561.6 | 29.32 | 5.98 |
| express | 4.18.2 || 11386.2 | 87.25 | 2.03 |
| express-with-middlewares | 4.18.2 || 10264.0 | 96.87 | 3.82 |
| fastify-big-json | 4.11.0 || 9477.3 | 104.95 | 109.04 |
| trpc-router | 10.7.0 || 6508.8 | 152.87 | 1.94 |
| 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":"polkadot","version":"1.0.0","hasRouter":false,"requests":"42500.0","latency":"23.08","throughput":"7.58"},{"name":"bare","version":"10.13.0","requests":"42147.2","latency":"23.30","throughput":"7.52"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"40861.8","latency":"24.03","throughput":"7.29"},{"name":"fastify","version":"4.10.2","hasRouter":true,"requests":"39630.2","latency":"24.77","throughput":"7.11"},{"name":"h3","version":"1.0.2","requests":"39368.2","latency":"24.97","throughput":"6.46"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"38838.4","latency":"25.28","throughput":"6.93"},{"name":"connect-router","version":"1.3.7","hasRouter":true,"requests":"38401.6","latency":"25.59","throughput":"6.85"},{"name":"server-base","version":"7.1.32","requests":"38078.2","latency":"25.84","throughput":"6.79"},{"name":"yeps","version":"1.1.1","requests":"37771.4","latency":"26.05","throughput":"6.74"},{"name":"connect","version":"3.7.0","requests":"37518.8","latency":"26.21","throughput":"6.69"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"35545.8","latency":"27.69","throughput":"5.83"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"35195.4","latency":"27.94","throughput":"6.28"},{"name":"spirit","version":"0.6.1","requests":"35037.0","latency":"28.12","throughput":"6.25"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"33051.0","latency":"29.83","throughput":"5.89"},{"name":"koa","version":"2.14.1","requests":"31701.2","latency":"31.09","throughput":"5.65"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"30818.6","latency":"31.99","throughput":"5.50"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"30164.0","latency":"32.69","throughput":"5.38"},{"name":"h3-router","version":"1.0.2","hasRouter":true,"requests":"29772.6","latency":"33.14","throughput":"4.88"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"29277.6","latency":"33.71","throughput":"10.53"},{"name":"restify","version":"10.0.0","hasRouter":true,"requests":"28861.3","latency":"34.22","throughput":"5.20"},{"name":"0http","version":"v3.4.2","hasRouter":true,"requests":"28257.6","latency":"34.92","throughput":"5.04"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"27835.6","latency":"35.46","throughput":"4.96"},{"name":"hapi","version":"21.1.0","hasRouter":true,"requests":"26175.2","latency":"37.71","throughput":"4.67"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"9043.0","latency":"109.98","throughput":"1.61"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"8030.4","latency":"123.87","throughput":"2.99"},{"name":"fastify-big-json","version":"4.10.2","hasRouter":true,"requests":"7394.9","latency":"134.58","throughput":"85.08"},{"name":"trpc-router","version":"10.7.0","hasRouter":true,"requests":"5381.7","latency":"185.06","throughput":"1.61"},{"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":"polkadot","version":"1.0.0","hasRouter":false,"requests":"55361.6","latency":"17.59","throughput":"9.87"},{"name":"h3","version":"1.0.2","requests":"51929.6","latency":"18.78","throughput":"8.52"},{"name":"bare","version":"10.13.0","requests":"51567.2","latency":"18.91","throughput":"9.20"},{"name":"h3-router","version":"1.0.2","hasRouter":true,"requests":"51539.2","latency":"18.92","throughput":"8.45"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"50164.8","latency":"19.46","throughput":"8.95"},{"name":"connect","version":"3.7.0","requests":"49320.0","latency":"19.81","throughput":"8.79"},{"name":"yeps","version":"1.1.1","requests":"48857.6","latency":"19.97","throughput":"8.71"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"48639.2","latency":"20.07","throughput":"8.67"},{"name":"fastify","version":"4.11.0","hasRouter":true,"requests":"48241.6","latency":"20.25","throughput":"8.65"},{"name":"server-base","version":"7.1.32","requests":"48037.6","latency":"20.35","throughput":"8.57"},{"name":"connect-router","version":"1.3.7","hasRouter":true,"requests":"44389.4","latency":"22.06","throughput":"7.92"},{"name":"spirit","version":"0.6.1","requests":"44186.4","latency":"22.16","throughput":"7.88"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"44096.0","latency":"22.18","throughput":"7.23"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"43112.8","latency":"22.71","throughput":"7.69"},{"name":"koa","version":"2.14.1","requests":"39428.2","latency":"24.88","throughput":"7.03"},{"name":"0http","version":"v3.4.2","hasRouter":true,"requests":"38684.0","latency":"25.38","throughput":"6.90"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"38130.2","latency":"25.73","throughput":"6.80"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"37106.2","latency":"26.48","throughput":"13.34"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"36935.4","latency":"26.61","throughput":"6.59"},{"name":"restify","version":"10.0.0","hasRouter":true,"requests":"36459.4","latency":"26.94","throughput":"6.57"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"35117.4","latency":"27.99","throughput":"6.26"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"34654.2","latency":"28.38","throughput":"6.18"},{"name":"hapi","version":"21.1.0","hasRouter":true,"requests":"33561.6","latency":"29.32","throughput":"5.98"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"11386.2","latency":"87.25","throughput":"2.03"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"10264.0","latency":"96.87","throughput":"3.82"},{"name":"fastify-big-json","version":"4.11.0","hasRouter":true,"requests":"9477.3","latency":"104.95","throughput":"109.04"},{"name":"trpc-router","version":"10.7.0","hasRouter":true,"requests":"6508.8","latency":"152.87","throughput":"1.94"},{"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"}]

0 comments on commit 8ff7e9b

Please sign in to comment.