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 23, 2023
1 parent 77580de commit 7733241
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.18.0`
* __Run:__ Mon Oct 16 2023 01:39:32 GMT+0000 (Coordinated Universal Time)
* __Node:__ `v18.18.2`
* __Run:__ Mon Oct 23 2023 01:39:00 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 | | 51593.6 | 18.89 | 9.20 |
| bare | 10.13.0 | | 48882.4 | 19.97 | 8.72 |
| polka | 0.5.2 | | 48882.4 | 19.96 | 8.72 |
| fastify | 4.24.2 | | 47945.6 | 20.37 | 8.60 |
| connect | 3.7.0 || 46652.6 | 20.96 | 8.32 |
| server-base-router | 7.1.32 || 46129.6 | 21.18 | 8.23 |
| server-base | 7.1.32 || 45790.4 | 21.35 | 8.17 |
| yeps | 1.1.1 || 45308.8 | 21.58 | 8.08 |
| restana | 4.9.7 || 43902.4 | 22.29 | 7.83 |
| connect-router | 1.3.8 || 43412.0 | 22.54 | 7.74 |
| vapr | 0.6.0 || 42468.8 | 23.05 | 6.97 |
| spirit | 0.6.1 || 41063.2 | 23.87 | 7.32 |
| spirit-router | 0.5.0 || 39243.4 | 24.98 | 7.00 |
| 0http | 3.5.2 || 37535.0 | 26.15 | 6.69 |
| koa | 2.14.2 || 37180.2 | 26.41 | 6.63 |
| h3 | 1.8.2 | | 36174.2 | 27.16 | 5.93 |
| take-five | 2.0.0 || 35979.8 | 27.29 | 12.94 |
| yeps-router | 1.2.0 || 35576.6 | 27.60 | 6.34 |
| koa-isomorphic-router | 1.0.1 || 35121.0 | 27.97 | 6.26 |
| restify | 11.1.0 | | 34747.2 | 28.27 | 6.26 |
| h3-router | 1.8.2 || 34608.2 | 28.40 | 5.68 |
| koa-router | 12.0.1 || 34096.6 | 28.84 | 6.08 |
| hapi | 21.3.2 || 31412.8 | 31.34 | 5.60 |
| express | 4.18.2 || 10979.4 | 90.50 | 1.96 |
| fastify-big-json | 4.24.2 || 10465.8 | 95.08 | 120.42 |
| express-with-middlewares | 4.18.2 || 9774.0 | 101.72 | 3.63 |
| polka | 0.5.2 | | 25370.8 | 38.91 | 4.52 |
| spirit-router | 0.5.0 | | 25142.0 | 39.30 | 4.48 |
| spirit | 0.6.1 | | 24419.6 | 40.53 | 4.35 |
| bare | 10.13.0 | | 24411.6 | 40.45 | 4.35 |
| connect | 3.7.0 || 23425.6 | 42.18 | 4.18 |
| fastify | 4.24.3 || 23205.6 | 42.58 | 4.16 |
| server-base | 7.1.32 || 22980.0 | 43.01 | 4.10 |
| yeps | 1.1.1 || 22490.8 | 43.95 | 4.01 |
| connect-router | 1.3.8 || 22465.6 | 44.00 | 4.01 |
| vapr | 0.6.0 || 21158.0 | 46.74 | 3.47 |
| server-base-router | 7.1.32 || 21008.9 | 47.09 | 3.75 |
| polkadot | 1.0.0 || 20873.2 | 47.42 | 3.72 |
| restana | 4.9.7 || 20283.5 | 48.79 | 3.62 |
| yeps-router | 1.2.0 || 19764.7 | 50.08 | 3.52 |
| koa | 2.14.2 || 19559.7 | 50.62 | 3.49 |
| h3-router | 1.8.2 | | 19310.9 | 51.27 | 3.17 |
| 0http | 3.5.2 || 18889.5 | 52.45 | 3.37 |
| koa-isomorphic-router | 1.0.1 || 18833.3 | 52.58 | 3.36 |
| take-five | 2.0.0 || 18704.3 | 52.94 | 6.72 |
| h3 | 1.8.2 | | 18529.2 | 53.45 | 3.04 |
| koa-router | 12.0.1 || 18201.5 | 54.41 | 3.25 |
| restify | 11.1.0 || 14751.2 | 67.26 | 2.66 |
| hapi | 21.3.2 || 14063.8 | 70.57 | 2.51 |
| fastify-big-json | 4.24.3 || 6653.4 | 149.81 | 76.54 |
| express | 4.18.2 || 6010.9 | 165.64 | 1.07 |
| express-with-middlewares | 4.18.2 || 5052.1 | 197.03 | 1.88 |
| 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.40.0 || N/A | N/A | N/A |
| trpc-router | 10.41.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":"polkadot","version":"1.0.0","hasRouter":false,"requests":"51593.6","latency":"18.89","throughput":"9.20"},{"name":"bare","version":"10.13.0","requests":"48882.4","latency":"19.97","throughput":"8.72"},{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"48882.4","latency":"19.96","throughput":"8.72"},{"name":"fastify","version":"4.24.2","hasRouter":true,"requests":"47945.6","latency":"20.37","throughput":"8.60"},{"name":"connect","version":"3.7.0","requests":"46652.6","latency":"20.96","throughput":"8.32"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"46129.6","latency":"21.18","throughput":"8.23"},{"name":"server-base","version":"7.1.32","requests":"45790.4","latency":"21.35","throughput":"8.17"},{"name":"yeps","version":"1.1.1","requests":"45308.8","latency":"21.58","throughput":"8.08"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"43902.4","latency":"22.29","throughput":"7.83"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"43412.0","latency":"22.54","throughput":"7.74"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"42468.8","latency":"23.05","throughput":"6.97"},{"name":"spirit","version":"0.6.1","requests":"41063.2","latency":"23.87","throughput":"7.32"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"39243.4","latency":"24.98","throughput":"7.00"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"37535.0","latency":"26.15","throughput":"6.69"},{"name":"koa","version":"2.14.2","requests":"37180.2","latency":"26.41","throughput":"6.63"},{"name":"h3","version":"1.8.2","requests":"36174.2","latency":"27.16","throughput":"5.93"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"35979.8","latency":"27.29","throughput":"12.94"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"35576.6","latency":"27.60","throughput":"6.34"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"35121.0","latency":"27.97","throughput":"6.26"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"34747.2","latency":"28.27","throughput":"6.26"},{"name":"h3-router","version":"1.8.2","hasRouter":true,"requests":"34608.2","latency":"28.40","throughput":"5.68"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"34096.6","latency":"28.84","throughput":"6.08"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"31412.8","latency":"31.34","throughput":"5.60"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"10979.4","latency":"90.50","throughput":"1.96"},{"name":"fastify-big-json","version":"4.24.2","hasRouter":true,"requests":"10465.8","latency":"95.08","throughput":"120.42"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"9774.0","latency":"101.72","throughput":"3.63"},{"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.40.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]
[{"name":"polka","version":"0.5.2","hasRouter":true,"requests":"25370.8","latency":"38.91","throughput":"4.52"},{"name":"spirit-router","version":"0.5.0","hasRouter":true,"requests":"25142.0","latency":"39.30","throughput":"4.48"},{"name":"spirit","version":"0.6.1","requests":"24419.6","latency":"40.53","throughput":"4.35"},{"name":"bare","version":"10.13.0","requests":"24411.6","latency":"40.45","throughput":"4.35"},{"name":"connect","version":"3.7.0","requests":"23425.6","latency":"42.18","throughput":"4.18"},{"name":"fastify","version":"4.24.3","hasRouter":true,"requests":"23205.6","latency":"42.58","throughput":"4.16"},{"name":"server-base","version":"7.1.32","requests":"22980.0","latency":"43.01","throughput":"4.10"},{"name":"yeps","version":"1.1.1","requests":"22490.8","latency":"43.95","throughput":"4.01"},{"name":"connect-router","version":"1.3.8","hasRouter":true,"requests":"22465.6","latency":"44.00","throughput":"4.01"},{"name":"vapr","version":"0.6.0","hasRouter":true,"requests":"21158.0","latency":"46.74","throughput":"3.47"},{"name":"server-base-router","version":"7.1.32","hasRouter":true,"requests":"21008.9","latency":"47.09","throughput":"3.75"},{"name":"polkadot","version":"1.0.0","hasRouter":false,"requests":"20873.2","latency":"47.42","throughput":"3.72"},{"name":"restana","version":"4.9.7","hasRouter":true,"requests":"20283.5","latency":"48.79","throughput":"3.62"},{"name":"yeps-router","version":"1.2.0","hasRouter":true,"requests":"19764.7","latency":"50.08","throughput":"3.52"},{"name":"koa","version":"2.14.2","requests":"19559.7","latency":"50.62","throughput":"3.49"},{"name":"h3-router","version":"1.8.2","hasRouter":true,"requests":"19310.9","latency":"51.27","throughput":"3.17"},{"name":"0http","version":"3.5.2","hasRouter":true,"requests":"18889.5","latency":"52.45","throughput":"3.37"},{"name":"koa-isomorphic-router","version":"1.0.1","hasRouter":true,"requests":"18833.3","latency":"52.58","throughput":"3.36"},{"name":"take-five","version":"2.0.0","hasRouter":true,"requests":"18704.3","latency":"52.94","throughput":"6.72"},{"name":"h3","version":"1.8.2","requests":"18529.2","latency":"53.45","throughput":"3.04"},{"name":"koa-router","version":"12.0.1","hasRouter":true,"requests":"18201.5","latency":"54.41","throughput":"3.25"},{"name":"restify","version":"11.1.0","hasRouter":true,"requests":"14751.2","latency":"67.26","throughput":"2.66"},{"name":"hapi","version":"21.3.2","hasRouter":true,"requests":"14063.8","latency":"70.57","throughput":"2.51"},{"name":"fastify-big-json","version":"4.24.3","hasRouter":true,"requests":"6653.4","latency":"149.81","throughput":"76.54"},{"name":"express","version":"4.18.2","hasRouter":true,"requests":"6010.9","latency":"165.64","throughput":"1.07"},{"name":"express-with-middlewares","version":"4.18.2","hasRouter":true,"requests":"5052.1","latency":"197.03","throughput":"1.88"},{"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.41.0","hasRouter":true,"requests":"N/A","latency":"N/A","throughput":"N/A"}]

0 comments on commit 7733241

Please sign in to comment.