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 Jul 24, 2023
1 parent d7f23ac commit 3487d94
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,41 +43,41 @@ benchmark [arguments (optional)]

* __Machine:__ linux x64 | 2 vCPUs | 6.8GB Mem
* __Node:__ `v18.16.1`
* __Run:__ Mon Jul 17 2023 02:05:08 GMT+0000 (Coordinated Universal Time)
* __Run:__ Mon Jul 24 2023 01:53:07 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 | 10.13.0 | | 49536.8 | 19.72 | 8.83 |
| polka | 0.5.2 | | 49408.0 | 19.77 | 8.81 |
| fastify | 4.19.2 | | 47992.8 | 20.36 | 8.60 |
| server-base | 7.1.32 | | 47434.4 | 20.61 | 8.46 |
| connect | 3.7.0 | | 47308.8 | 20.66 | 8.44 |
| server-base-router | 7.1.32 || 47220.8 | 20.70 | 8.42 |
| yeps | 1.1.1 || 45180.8 | 21.66 | 8.06 |
| connect-router | 1.3.8 | | 44282.4 | 22.11 | 7.90 |
| spirit | 0.6.1 || 44269.6 | 22.13 | 7.89 |
| vapr | 0.6.0 || 42312.0 | 23.18 | 6.94 |
| polkadot | 1.0.0 || 39926.4 | 24.55 | 7.12 |
| koa | 2.14.2 | | 37755.8 | 26.00 | 6.73 |
| take-five | 2.0.0 || 37412.6 | 26.24 | 13.45 |
| h3 | 1.7.1 || 37399.0 | 26.28 | 6.13 |
| h3-router | 1.7.1 || 36728.2 | 26.75 | 6.02 |
| 0http | 3.5.2 || 36636.2 | 26.84 | 6.53 |
| restify | 11.1.0 || 36568.6 | 26.89 | 6.59 |
| yeps-router | 1.2.0 | | 35952.6 | 27.34 | 6.41 |
| koa-isomorphic-router | 1.0.1 || 35699.2 | 27.56 | 6.37 |
| koa-router | 12.0.0 || 34117.8 | 28.85 | 6.08 |
| restana | 4.9.7 || 34050.4 | 28.89 | 6.07 |
| spirit-router | 0.5.0 || 32638.6 | 30.15 | 5.82 |
| hapi | 21.3.2 || 32473.4 | 30.34 | 5.79 |
| express | 4.18.2 || 11257.2 | 88.27 | 2.01 |
| fastify-big-json | 4.19.2 || 10835.6 | 91.75 | 124.67 |
| express-with-middlewares | 4.18.2 || 10016.0 | 99.26 | 3.72 |
| spirit-router | 0.5.0 | | 24275.2 | 40.71 | 4.33 |
| spirit | 0.6.1 | | 24030.8 | 41.15 | 4.29 |
| bare | 10.13.0 | | 23717.2 | 41.65 | 4.23 |
| polka | 0.5.2 | | 23261.6 | 42.48 | 4.15 |
| fastify | 4.20.0 | | 22878.0 | 43.20 | 4.10 |
| server-base-router | 7.1.32 || 22188.8 | 44.55 | 3.96 |
| server-base | 7.1.32 || 21468.0 | 46.06 | 3.83 |
| connect | 3.7.0 | | 21225.6 | 46.60 | 3.79 |
| yeps | 1.1.1 || 20822.4 | 47.52 | 3.71 |
| connect-router | 1.3.8 || 20303.6 | 48.73 | 3.62 |
| polkadot | 1.0.0 || 20205.6 | 48.99 | 3.60 |
| vapr | 0.6.0 | | 19662.9 | 50.34 | 3.23 |
| h3-router | 1.7.1 || 19423.7 | 50.98 | 3.19 |
| koa | 2.14.2 || 18877.7 | 52.47 | 3.37 |
| yeps-router | 1.2.0 || 18747.6 | 52.84 | 3.34 |
| take-five | 2.0.0 || 18378.1 | 53.89 | 6.61 |
| koa-isomorphic-router | 1.0.1 || 18290.7 | 54.16 | 3.26 |
| h3 | 1.7.1 | | 18159.7 | 54.55 | 2.98 |
| restify | 11.1.0 || 17932.7 | 55.23 | 3.23 |
| koa-router | 12.0.0 || 17062.0 | 58.10 | 3.04 |
| 0http | 3.5.2 || 16971.2 | 58.41 | 3.03 |
| restana | 4.9.7 || 15186.0 | 65.34 | 2.71 |
| hapi | 21.3.2 || 13940.4 | 71.20 | 2.49 |
| fastify-big-json | 4.20.0 || 6524.9 | 152.67 | 75.07 |
| express | 4.18.2 || 5567.4 | 178.76 | 0.99 |
| express-with-middlewares | 4.18.2 || 4832.4 | 206.00 | 1.80 |
| 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 |
| micro | 10.0.1 || N/A | N/A | N/A |
| microrouter | 3.1.3 || N/A | N/A | N/A |
| total.js | 3.4.13 || N/A | N/A | N/A |
| trpc-router | 10.34.0 || N/A | N/A | N/A |
| trpc-router | 10.35.0 || 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":"bare","version":"10.13.0","requests":"49536.8","latency":"19.72","throughput":"8.83"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"49408.0","latency":"19.77","throughput":"8.81"},{"name":"fastify","version":"4.19.2","hasRouter":true,"requests":"47992.8","latency":"20.36","throughput":"8.60"},{"name":"server-base","version":"7.1.32","requests":"47434.4","latency":"20.61","throughput":"8.46"},{"name":"connect","version":"3.7.0","requests":"47308.8","latency":"20.66","throughput":"8.44"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"47220.8","latency":"20.70","throughput":"8.42"},{"name":"yeps","version":"1.1.1","requests":"45180.8","latency":"21.66","throughput":"8.06"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"44282.4","latency":"22.11","throughput":"7.90"},{"name":"spirit","version":"0.6.1","requests":"44269.6","latency":"22.13","throughput":"7.89"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"42312.0","latency":"23.18","throughput":"6.94"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"39926.4","latency":"24.55","throughput":"7.12"},{"name":"koa","version":"2.14.2","requests":"37755.8","latency":"26.00","throughput":"6.73"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"37412.6","latency":"26.24","throughput":"13.45"},{"name":"h3","version":"1.7.1","requests":"37399.0","latency":"26.28","throughput":"6.13"},{"name":"h3-router","version":"1.7.1","hasRouter":true,"requests":"36728.2","latency":"26.75","throughput":"6.02"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"36636.2","latency":"26.84","throughput":"6.53"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"36568.6","latency":"26.89","throughput":"6.59"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"35952.6","latency":"27.34","throughput":"6.41"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35699.2","latency":"27.56","throughput":"6.37"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"34117.8","latency":"28.85","throughput":"6.08"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"34050.4","latency":"28.89","throughput":"6.07"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"32638.6","latency":"30.15","throughput":"5.82"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"32473.4","latency":"30.34","throughput":"5.79"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"11257.2","latency":"88.27","throughput":"2.01"},{"name":"fastify-big-json","version":"4.19.2","hasRouter":true,"requests":"10835.6","latency":"91.75","throughput":"124.67"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"10016.0","latency":"99.26","throughput":"3.72"},{"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.34.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"24275.2","latency":"40.71","throughput":"4.33"},{"name":"spirit","version":"0.6.1","requests":"24030.8","latency":"41.15","throughput":"4.29"},{"name":"bare","version":"10.13.0","requests":"23717.2","latency":"41.65","throughput":"4.23"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"23261.6","latency":"42.48","throughput":"4.15"},{"name":"fastify","version":"4.20.0","hasRouter":true,"requests":"22878.0","latency":"43.20","throughput":"4.10"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"22188.8","latency":"44.55","throughput":"3.96"},{"name":"server-base","version":"7.1.32","requests":"21468.0","latency":"46.06","throughput":"3.83"},{"name":"connect","version":"3.7.0","requests":"21225.6","latency":"46.60","throughput":"3.79"},{"name":"yeps","version":"1.1.1","requests":"20822.4","latency":"47.52","throughput":"3.71"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"20303.6","latency":"48.73","throughput":"3.62"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"20205.6","latency":"48.99","throughput":"3.60"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"19662.9","latency":"50.34","throughput":"3.23"},{"name":"h3-router","version":"1.7.1","hasRouter":true,"requests":"19423.7","latency":"50.98","throughput":"3.19"},{"name":"koa","version":"2.14.2","requests":"18877.7","latency":"52.47","throughput":"3.37"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"18747.6","latency":"52.84","throughput":"3.34"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"18378.1","latency":"53.89","throughput":"6.61"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"18290.7","latency":"54.16","throughput":"3.26"},{"name":"h3","version":"1.7.1","requests":"18159.7","latency":"54.55","throughput":"2.98"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"17932.7","latency":"55.23","throughput":"3.23"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"17062.0","latency":"58.10","throughput":"3.04"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"16971.2","latency":"58.41","throughput":"3.03"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"15186.0","latency":"65.34","throughput":"2.71"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"13940.4","latency":"71.20","throughput":"2.49"},{"name":"fastify-big-json","version":"4.20.0","hasRouter":true,"requests":"6524.9","latency":"152.67","throughput":"75.07"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"5567.4","latency":"178.76","throughput":"0.99"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"4832.4","latency":"206.00","throughput":"1.80"},{"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.35.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 3487d94

Please sign in to comment.