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 Oct 2, 2023
1 parent f92c140 commit f77c8e7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
58 changes: 29 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,42 +42,42 @@ benchmark [arguments (optional)]
# Benchmarks

* __Machine:__ linux x64 | 2 vCPUs | 6.8GB Mem
* __Node:__ `v18.17.1`
* __Run:__ Mon Sep 25 2023 01:38:27 GMT+0000 (Coordinated Universal Time)
* __Node:__ `v18.18.0`
* __Run:__ Mon Oct 02 2023 01:38:49 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 || 23660.0 | 41.80 | 4.22 |
| fastify | 4.23.2 | | 22052.1 | 44.83 | 3.95 |
| spirit-router | 0.5.0 || 21404.0 | 46.29 | 3.82 |
| polka | 0.5.2 || 21390.0 | 46.26 | 3.81 |
| yeps | 1.1.1 | | 20920.9 | 47.29 | 3.73 |
| spirit | 0.6.1 || 20838.1 | 47.53 | 3.72 |
| server-base-router | 7.1.32 | | 20508.0 | 48.24 | 3.66 |
| server-base | 7.1.32 || 19945.6 | 49.61 | 3.56 |
| koa | 2.14.2 | | 19589.9 | 50.54 | 3.49 |
| vapr | 0.6.0 || 19589.3 | 50.52 | 3.21 |
| connect | 3.7.0 || 19515.0 | 50.74 | 3.48 |
| connect-router | 1.3.8 || 18595.2 | 53.25 | 3.32 |
| restana | 4.9.7 | | 18401.3 | 53.84 | 3.28 |
| restify | 11.1.0 || 18150.5 | 54.57 | 3.27 |
| yeps-router | 1.2.0 || 17723.9 | 55.91 | 3.16 |
| h3 | 1.8.1 | | 17628.4 | 56.24 | 2.89 |
| polkadot | 1.0.0 | | 17419.9 | 56.92 | 3.11 |
| 0http | 3.5.2 | | 16751.4 | 59.20 | 2.99 |
| h3-router | 1.8.1 || 16674.2 | 59.45 | 2.73 |
| take-five | 2.0.0 || 16491.8 | 60.11 | 5.93 |
| koa-isomorphic-router | 1.0.1 || 16174.6 | 61.32 | 2.88 |
| koa-router | 12.0.0 || 15678.4 | 63.26 | 2.80 |
| hapi | 21.3.2 || 13590.4 | 73.04 | 2.42 |
| fastify-big-json | 4.23.2 || 6187.2 | 161.12 | 71.18 |
| express | 4.18.2 || 5269.3 | 188.96 | 0.94 |
| express-with-middlewares | 4.18.2 || 4662.6 | 213.57 | 1.73 |
| polkadot | 1.0.0 || 45308.0 | 21.57 | 8.08 |
| bare | 10.13.0 | | 45134.4 | 21.66 | 8.05 |
| fastify | 4.23.2 || 44436.8 | 22.01 | 7.97 |
| polka | 0.5.2 || 43859.4 | 22.31 | 7.82 |
| server-base-router | 7.1.32 | | 41856.0 | 23.41 | 7.46 |
| connect | 3.7.0 || 41774.2 | 23.44 | 7.45 |
| server-base | 7.1.32 | | 41573.6 | 23.55 | 7.41 |
| yeps | 1.1.1 || 40456.8 | 24.23 | 7.21 |
| connect-router | 1.3.8 | | 39854.4 | 24.61 | 7.11 |
| vapr | 0.6.0 || 39196.8 | 25.01 | 6.43 |
| spirit | 0.6.1 || 37163.0 | 26.42 | 6.63 |
| spirit-router | 0.5.0 || 34719.0 | 28.32 | 6.19 |
| koa | 2.14.2 | | 34122.6 | 28.80 | 6.09 |
| 0http | 3.5.2 || 33642.8 | 29.25 | 6.00 |
| yeps-router | 1.2.0 || 32699.2 | 30.07 | 5.83 |
| take-five | 2.0.0 | | 32655.4 | 30.13 | 11.74 |
| koa-isomorphic-router | 1.0.1 | | 32354.8 | 30.40 | 5.77 |
| h3 | 1.8.2 | | 31538.4 | 31.22 | 5.17 |
| restify | 11.1.0 || 31376.8 | 31.37 | 5.66 |
| h3-router | 1.8.2 || 30852.0 | 31.92 | 5.06 |
| koa-router | 12.0.0 || 29854.8 | 32.99 | 5.32 |
| restana | 4.9.7 || 29464.0 | 33.46 | 5.25 |
| hapi | 21.3.2 || 28066.8 | 35.12 | 5.01 |
| fastify-big-json | 4.23.2 || 9782.3 | 101.79 | 112.54 |
| express | 4.18.2 || 9408.0 | 105.73 | 1.68 |
| express-with-middlewares | 4.18.2 || 8439.0 | 117.88 | 3.14 |
| 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.38.4 || N/A | N/A | N/A |
| trpc-router | 10.38.5 || 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":"23660.0","latency":"41.80","throughput":"4.22"},{"name":"fastify","version":"4.23.2","hasRouter":true,"requests":"22052.1","latency":"44.83","throughput":"3.95"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"21404.0","latency":"46.29","throughput":"3.82"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"21390.0","latency":"46.26","throughput":"3.81"},{"name":"yeps","version":"1.1.1","requests":"20920.9","latency":"47.29","throughput":"3.73"},{"name":"spirit","version":"0.6.1","requests":"20838.1","latency":"47.53","throughput":"3.72"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"20508.0","latency":"48.24","throughput":"3.66"},{"name":"server-base","version":"7.1.32","requests":"19945.6","latency":"49.61","throughput":"3.56"},{"name":"koa","version":"2.14.2","requests":"19589.9","latency":"50.54","throughput":"3.49"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"19589.3","latency":"50.52","throughput":"3.21"},{"name":"connect","version":"3.7.0","requests":"19515.0","latency":"50.74","throughput":"3.48"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"18595.2","latency":"53.25","throughput":"3.32"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"18401.3","latency":"53.84","throughput":"3.28"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"18150.5","latency":"54.57","throughput":"3.27"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"17723.9","latency":"55.91","throughput":"3.16"},{"name":"h3","version":"1.8.1","requests":"17628.4","latency":"56.24","throughput":"2.89"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"17419.9","latency":"56.92","throughput":"3.11"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"16751.4","latency":"59.20","throughput":"2.99"},{"name":"h3-router","version":"1.8.1","hasRouter":true,"requests":"16674.2","latency":"59.45","throughput":"2.73"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"16491.8","latency":"60.11","throughput":"5.93"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"16174.6","latency":"61.32","throughput":"2.88"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"15678.4","latency":"63.26","throughput":"2.80"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"13590.4","latency":"73.04","throughput":"2.42"},{"name":"fastify-big-json","version":"4.23.2","hasRouter":true,"requests":"6187.2","latency":"161.12","throughput":"71.18"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"5269.3","latency":"188.96","throughput":"0.94"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"4662.6","latency":"213.57","throughput":"1.73"},{"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.4","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"45308.0","latency":"21.57","throughput":"8.08"},{"name":"bare","version":"10.13.0","requests":"45134.4","latency":"21.66","throughput":"8.05"},{"name":"fastify","version":"4.23.2","hasRouter":true,"requests":"44436.8","latency":"22.01","throughput":"7.97"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"43859.4","latency":"22.31","throughput":"7.82"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"41856.0","latency":"23.41","throughput":"7.46"},{"name":"connect","version":"3.7.0","requests":"41774.2","latency":"23.44","throughput":"7.45"},{"name":"server-base","version":"7.1.32","requests":"41573.6","latency":"23.55","throughput":"7.41"},{"name":"yeps","version":"1.1.1","requests":"40456.8","latency":"24.23","throughput":"7.21"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"39854.4","latency":"24.61","throughput":"7.11"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"39196.8","latency":"25.01","throughput":"6.43"},{"name":"spirit","version":"0.6.1","requests":"37163.0","latency":"26.42","throughput":"6.63"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"34719.0","latency":"28.32","throughput":"6.19"},{"name":"koa","version":"2.14.2","requests":"34122.6","latency":"28.80","throughput":"6.09"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"33642.8","latency":"29.25","throughput":"6.00"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"32699.2","latency":"30.07","throughput":"5.83"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"32655.4","latency":"30.13","throughput":"11.74"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"32354.8","latency":"30.40","throughput":"5.77"},{"name":"h3","version":"1.8.2","requests":"31538.4","latency":"31.22","throughput":"5.17"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"31376.8","latency":"31.37","throughput":"5.66"},{"name":"h3-router","version":"1.8.2","hasRouter":true,"requests":"30852.0","latency":"31.92","throughput":"5.06"},{"name":"koa-router","version":"12.0.0","hasRouter":true,"requests":"29854.8","latency":"32.99","throughput":"5.32"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"29464.0","latency":"33.46","throughput":"5.25"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"28066.8","latency":"35.12","throughput":"5.01"},{"name":"fastify-big-json","version":"4.23.2","hasRouter":true,"requests":"9782.3","latency":"101.79","throughput":"112.54"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"9408.0","latency":"105.73","throughput":"1.68"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"8439.0","latency":"117.88","throughput":"3.14"},{"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.5","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit f77c8e7

Please sign in to comment.