2 Commits
Author SHA1 Message Date
chrnx 7c1efa5adc Merge pull request 'docs(bench): regenerate the tables for RC.1 and record the beta.2 gate' (#180) from docs/benchmarks-rc1 into develop
CI / dco (push) Has been skipped
CI / build (push) Successful in 29s
CI / runtimes (bun) (push) Successful in 20s
CI / runtimes (deno) (push) Successful in 33s
CI / runtimes (edge) (push) Successful in 23s
Promote → GitHub / push-github (push) Successful in 7s
2026-10-29 21:41:46 +00:00
chrnx 21fcf45fab docs(bench): regenerate the tables for RC.1 and record the beta.2 gate
CI / dco (pull_request) Successful in 5s
CI / runtimes (bun) (pull_request) Successful in 20s
CI / build (pull_request) Successful in 29s
CI / runtimes (edge) (pull_request) Successful in 22s
CI / runtimes (deno) (pull_request) Successful in 34s
Regenerate the cross-framework, step-scaling, runtime and security
tables at 4566f31, unpinned on the same Ryzen box as September so the
ratios stay comparable.

Add the 26.9.0-beta.2 -> RC.1 release gate. It runs fifteen cases on
Node, Deno and Bun, and attributes the Deno drift to the router
trade-off accepted under D4, plus residual per-feature work. The
compression rows get their own table, because beta.2 has no
compression to compare against. A comparison against raw-http shows
where the field moved: green-tea gained on hello, param and pipeline,
and Fastify 5.12 gained on validate.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-29 12:46:13 -05:00
2 changed files with 315 additions and 234 deletions

No files matched your search

+118 -37
View File
@@ -4,9 +4,9 @@
## Environment ## Environment
- **Date**: 2026-09-22 - **Date**: 2026-10-29
- **Commit**: daf0fed - **Commit**: 4566f31
- **Node**: v22.22.2 - **Node**: v22.23.1
- **OS**: linux - **OS**: linux
- **CPU**: AMD Ryzen 7 3700X 8-Core Processor (16 cores) - **CPU**: AMD Ryzen 7 3700X 8-Core Processor (16 cores)
- **RAM**: 67 GB - **RAM**: 67 GB
@@ -29,72 +29,72 @@
| Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s | | Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| raw-http | 41,631 | 2.00 | 3.00 | 4.00 | 0.6% | 41,343–41,974 | | raw-http | 47,469 | 2.00 | 3.00 | 4.00 | 0.6% | 47,193–48,004 |
| nestjs-fastify | 32,419 | 3.00 | 4.00 | 6.00 | 0.5% | 32,103–32,583 | | green-tea | 37,599 | 2.00 | 3.00 | 5.00 | 0.5% | 37,162–37,654 |
| fastify | 32,170 | 3.00 | 3.00 | 5.00 | 1.3% | 31,236–32,356 | | fastify | 36,740 | 2.00 | 3.00 | 4.00 | 0.6% | 36,641–37,244 |
| green-tea | 29,777 | 3.00 | 6.00 | 7.00 | 0.4% | 29,557–29,873 | | nestjs-fastify | 36,205 | 2.00 | 3.00 | 4.00 | 0.7% | 35,969–36,627 |
| express | 10,546 | 8.00 | 13.00 | 18.00 | 0.4% | 10,480–10,625 | | express | 11,099 | 8.00 | 12.00 | 14.00 | 0.6% | 11,000–11,183 |
| nestjs-express | 9,680 | 9.00 | 15.00 | 21.00 | 0.6% | 9,567–9,739 | | nestjs-express | 10,067 | 9.00 | 13.00 | 16.00 | 0.5% | 9,991–10,122 |
### Route param ### Route param
| Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s | | Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| raw-http | 41,756 | 2.00 | 3.00 | 4.00 | 1.1% | 40,953–42,017 | | raw-http | 47,661 | 2.00 | 3.00 | 4.00 | 0.7% | 47,062–48,028 |
| fastify | 31,708 | 3.00 | 4.00 | 5.00 | 0.5% | 31,359–31,847 | | fastify | 36,135 | 2.00 | 3.00 | 4.00 | 0.5% | 35,868–36,391 |
| nestjs-fastify | 29,880 | 3.00 | 4.00 | 6.00 | 0.3% | 29,745–29,961 | | green-tea | 35,001 | 2.00 | 4.00 | 5.00 | 0.2% | 34,879–35,088 |
| green-tea | 28,706 | 3.00 | 6.00 | 7.00 | 0.6% | 28,562–29,051 | | nestjs-fastify | 33,253 | 3.00 | 3.00 | 4.00 | 0.8% | 32,969–33,756 |
| express | 10,376 | 9.00 | 12.00 | 17.00 | 0.4% | 10,364–10,453 | | express | 10,889 | 8.00 | 12.00 | 14.00 | 0.2% | 10,872–10,925 |
| nestjs-express | 9,257 | 10.00 | 15.00 | 21.00 | 0.2% | 9,244–9,285 | | nestjs-express | 9,589 | 10.00 | 14.00 | 16.00 | 0.5% | 9,535–9,676 |
### Pipeline (3 steps) (approximation) ### Pipeline (3 steps) (approximation)
| Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s | | Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| raw-http | 39,897 | 2.00 | 3.00 | 5.00 | 0.6% | 39,847–40,441 | | raw-http | 46,361 | 2.00 | 3.00 | 4.00 | 0.2% | 46,192–46,509 |
| fastify | 31,436 | 3.00 | 4.00 | 6.00 | 0.6% | 31,079–31,563 | | fastify | 35,329 | 2.00 | 3.00 | 5.00 | 0.5% | 35,027–35,536 |
| nestjs-fastify | 29,403 | 3.00 | 4.00 | 6.00 | 0.6% | 29,151–29,689 | | green-tea | 33,375 | 2.00 | 3.00 | 5.00 | 0.5% | 33,092–33,569 |
| green-tea | 26,839 | 3.00 | 6.00 | 8.00 | 0.1% | 26,783–26,872 | | nestjs-fastify | 32,767 | 3.00 | 3.00 | 4.00 | 0.5% | 32,559–32,995 |
| express | 10,365 | 9.00 | 12.00 | 18.00 | 1.3% | 10,171–10,542 | | express | 10,936 | 8.00 | 13.00 | 14.00 | 0.8% | 10,755–11,024 |
| nestjs-express | 9,256 | 10.00 | 15.00 | 22.00 | 0.5% | 9,187–9,302 | | nestjs-express | 9,605 | 10.00 | 14.00 | 17.00 | 0.7% | 9,485–9,652 |
### POST JSON + validation ### POST JSON + validation
| Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s | | Framework | req/s (median) | p50 (ms) | p99 (ms) | p999 (ms) | CV | min–max req/s |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| raw-http | 31,783 | 3.00 | 5.00 | 6.00 | 0.4% | 31,517–31,825 | | raw-http | 34,945 | 2.00 | 3.00 | 5.00 | 0.4% | 34,637–35,079 |
| green-tea | 22,005 | 4.00 | 7.00 | 9.00 | 0.7% | 21,736–22,187 | | fastify | 28,345 | 3.00 | 4.00 | 6.00 | 0.4% | 28,239–28,537 |
| fastify | 20,430 | 4.00 | 8.00 | 9.00 | 0.4% | 20,398–20,601 | | green-tea | 24,495 | 4.00 | 5.00 | 7.00 | 0.5% | 24,379–24,745 |
| nestjs-fastify | 18,597 | 4.00 | 8.00 | 11.00 | 0.2% | 18,540–18,658 | | nestjs-fastify | 24,103 | 4.00 | 6.00 | 7.00 | 0.8% | 23,729–24,164 |
| express | 8,440 | 11.00 | 16.00 | 24.00 | 0.3% | 8,408–8,492 | | express | 9,019 | 10.00 | 14.00 | 22.00 | 0.4% | 8,985–9,084 |
| nestjs-express | 7,666 | 12.00 | 18.00 | 26.00 | 0.3% | 7,645–7,703 | | nestjs-express | 8,107 | 11.00 | 17.00 | 26.00 | 0.4% | 8,078–8,166 |
## Step-scaling (green-tea) ## Step-scaling (green-tea)
| Path | Steps | req/s | | Path | Steps | req/s |
| --- | --- | --- | | --- | --- | --- |
| /steps/0 | 0 | 29,196 | | /steps/0 | 0 | 36,423 |
| /steps/3 | 3 | 26,564 | | /steps/3 | 3 | 32,436 |
| /steps/5 | 5 | 25,314 | | /steps/5 | 5 | 30,549 |
Each additional pipeline step costs roughly 776 req/s (-13.3% over 5 steps), on this box. Each additional pipeline step costs roughly 1,175 req/s (-16.1% over 5 steps), on this box.
## green-tea across runtimes ## green-tea across runtimes
| Scenario | node | deno | bun | | Scenario | node | deno | bun |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| JSON hello (overhead) | 30,379 | 51,888 | 46,300 | | JSON hello (overhead) | 38,119 | 61,792 | 54,428 |
| Route param | 29,204 | 51,786 | 42,788 | | Route param | 35,335 | 61,919 | 48,444 |
| Pipeline (3 steps) | 27,208 | 50,692 | 39,644 | | Pipeline (3 steps) | 33,776 | 59,521 | 44,956 |
| POST JSON + validation | 22,609 | 35,743 | 31,960 | | POST JSON + validation | 24,759 | 38,561 | 35,268 |
Same application, same built bundle, same box — only the runtime differs. Read across a row, never against the cross-framework tables above: those measure other frameworks on Node, and nobody ran fastify on Bun here. A runtime that is not installed is absent rather than zero. Same application, same built bundle, same box — only the runtime differs. Read across a row, never against the cross-framework tables above: those measure other frameworks on Node, and nobody ran fastify on Bun here. A runtime that is not installed is absent rather than zero.
## Cost of secure-by-default (green-tea) ## Cost of secure-by-default (green-tea)
| Label | req/s | | Label | req/s |
| --- | --- | | --- | --- |
| security:false (parity) | 29,777 | | security:false (parity) | 37,599 |
| security:true (default) | 28,919 | | security:true (default) | 36,508 |
The real cost of running secure-by-default (rather than the parity-mode `security:false` used above) is ~2.9% req/s on this box. The real cost of running secure-by-default (rather than the parity-mode `security:false` used above) is ~2.9% req/s on this box.
@@ -136,6 +136,87 @@ was benchmarked as it landed — the numbers are still in the code, cited below
file between `26.7` and `26.9`, so nothing added them up. That is the gap this section and file between `26.7` and `26.9`, so nothing added them up. That is the gap this section and
`npm run bench:compare` exist to close. `npm run bench:compare` exist to close.
### The release gate: `26.9.0-beta.2` → RC.1 (`4566f31`)
Fifteen cases on all three runtimes this time, because the previous gate measured Node alone and
Deno was the runtime that drifted. Both trees ran on one box in one sitting. Each round alternated
which side went first, and both sides shared one `node_modules`. The runs used a `node:22` container
pinned to four cores (`--cpuset-cpus 6,7,14,15`), so the absolute numbers are not comparable with
the gates below. Only the Δ carries over. Medians of four rounds; an A/A run on the same setup moves
within ±4%. A Δ marked † has overlapping ranges and says nothing:
| Scenario | Node | Deno | Bun |
| --- | --- | --- | --- |
| hello | +15.0% | −4.1% † | −0.6% † |
| param | +7.7% | −8.2% | −4.3% |
| pipeline (3 steps) | +14.2% | −3.4% † | −2.9% † |
| steps5 | +13.6% | −3.4% | −2.8% † |
| validate (POST) | −2.5% † | −6.1% | −2.3% |
| hello + security | +12.6% | −5.7% | −1.9% † |
| hello + cors predicate | +14.8% | −3.7% † | −2.5% † |
| preflight + cors predicate | −3.2% | −7.5% | −0.9% |
| param, 50 routes | +14.4% | −5.2% | +0.8% † |
| param, 200 routes | **+21.4%** | **+13.9%** | **+23.6%** |
| json 8KB uncompressed | +1.6% | −2.4% † | −0.9% † |
Node got faster almost everywhere. The Node path stopped doing per-request work it did not need,
and the radix router replaced a matcher that walked past every candidate. Bun is flat apart from
`param`. Deno lost 3% to 8% on the small cases. These figures are the remainder after the changes
below:
- **The router is about 5% of it, and it was accepted on purpose.** The radix index costs Deno
roughly 5% on a parameterised route in a small table, and it is the reason every runtime gains
14% to 24% at two hundred routes. The router's gate allowed up to +5% at ten routes, and this cost
is within it.
- **Two added features cost Deno more than they had to, and both were fixed before this run.** The
health probes made `app.fetch` await the boot on every request, which cost 6% on Deno. Cookie
support had also added per-request work to the fetch adapter. Both fixes are in this tree.
- **`ctx.ip` resolution became lazy.** The first attempt at it used getters on an object literal.
V8 and JavaScriptCore both treat that as a slow object, and it cost Node and Deno 15% to 24%. The
getters moved onto a class prototype before the change merged, and the merged version measures
flat.
- **What remains on Deno is not pinned to a single change.** It is the per-request work that came
with this release's features, such as cookies, ETags and the reserved mesh route, spread thinly
enough that no one removal recovers it.
#### Compression is new, so there is no `beta.2` number to compare it with
`26.9.0-beta.2` has no compression. On these rows the base side served the same 8 KB body
uncompressed, so the Δ is what turning compression on costs rather than a regression:
| Scenario | Node | Deno | Bun |
| --- | --- | --- | --- |
| hello + compression | +4.9% † | −2.2% † | −3.5% |
| json 8KB + compression, identity | −5.3% | −10.7% | −5.0% |
| json 8KB + gzip | −36.3% | −59.3% | −42.4% |
| json 8KB + br | −51.4% | −75.5% | −39.9% |
A body under the threshold costs nothing measurable, because no `Vary` is set on it any more.
Before that change, Deno lost 25% on `hello + compression`. An identity response above the
threshold still carries `Vary: Accept-Encoding`, as RFC 9110 requires. That header costs Deno about
10% of a small request and Bun about 3%. Encoding 8 KB on every request is the price of the smaller
response. These are loopback numbers, so the bandwidth the encoding saves does not appear in them.
#### Against the field
The cross-framework tables above were regenerated on the same box as September's, and that run was
unpinned like September's. This box measured faster across the board this time: `raw-http` rose 10%
to 16%. So the ratio to `raw-http` is the honest comparison, not the req/s:
| Scenario | green-tea, Sep | green-tea, now | fastify, Sep | fastify, now |
| --- | --- | --- | --- | --- |
| JSON hello | 71.5% | **79.2%** | 77.3% | 77.4% |
| Route param | 68.7% | **73.4%** | 75.9% | 75.8% |
| Pipeline (3 steps) | 67.3% | **72.0%** | 78.8% | 76.2% |
| POST JSON + validation | 69.2% | 70.1% | 64.3% | **81.1%** |
The previous gate described a shape: green-tea behind Fastify on `hello`, `param` and `pipeline`,
and ahead of it on `validate`. That shape has now flipped at both ends. On `hello`, green-tea is
ahead of Fastify on this box, by 2.3%. The gap on `param` and `pipeline` narrowed from 7-15% to
3-6%. On `validate`, green-tea's own ratio barely moved. Fastify's rose 17 points between `5.11.0`
and `5.12.7`, the version the lockfile now pins, and this file has not looked into which Fastify
change did it. green-tea did not get slower at validation; Fastify got faster.
### The release gate: `26.9.0-beta.1` → `26.9.0-beta.2` ### The release gate: `26.9.0-beta.1` → `26.9.0-beta.2`
Ten cases, both trees on one box in one sitting, alternating which side ran first each round, sharing Ten cases, both trees on one box in one sitting, alternating which side ran first each round, sharing
+197 -197
View File
@@ -1,8 +1,8 @@
{ {
"env": { "env": {
"date": "2026-09-22", "date": "2026-10-29",
"commit": "daf0fed", "commit": "4566f31",
"node": "v22.22.2", "node": "v22.23.1",
"os": "linux", "os": "linux",
"cpu": "AMD Ryzen 7 3700X 8-Core Processor (16 cores)", "cpu": "AMD Ryzen 7 3700X 8-Core Processor (16 cores)",
"ram": "67 GB", "ram": "67 GB",
@@ -23,11 +23,11 @@
{ {
"framework": "raw-http", "framework": "raw-http",
"reqSec": { "reqSec": {
"median": 41630.55, "median": 47469.1,
"min": 41342.55, "min": 47192.73,
"max": 41973.82, "max": 48004.37,
"stddev": 232.79156158245826, "stddev": 269.02890451399486,
"cv": 0.0055977118567263305 "cv": 0.0056617632193964144
}, },
"p50": 2, "p50": 2,
"p99": 3, "p99": 3,
@@ -36,67 +36,67 @@
{ {
"framework": "fastify", "framework": "fastify",
"reqSec": { "reqSec": {
"median": 32170.19, "median": 36740.37,
"min": 31235.64, "min": 36641.46,
"max": 32355.64, "max": 37243.64,
"stddev": 403.36620390905324, "stddev": 214.65425409248226,
"cv": 0.012593571579786219 "cv": 0.005826132913876785
}, },
"p50": 3, "p50": 2,
"p99": 3, "p99": 3,
"p999": 5 "p999": 4
}, },
{ {
"framework": "express", "framework": "express",
"reqSec": { "reqSec": {
"median": 10545.82, "median": 11098.55,
"min": 10480.37, "min": 11000.37,
"max": 10625.1, "max": 11182.91,
"stddev": 47.02831087759791, "stddev": 66.7811100836154,
"cv": 0.004456044641032285 "cv": 0.006025867495164444
}, },
"p50": 8, "p50": 8,
"p99": 13, "p99": 12,
"p999": 18 "p999": 14
}, },
{ {
"framework": "green-tea", "framework": "green-tea",
"reqSec": { "reqSec": {
"median": 29776.73, "median": 37598.55,
"min": 29557.1, "min": 37162.19,
"max": 29872.73, "max": 37653.82,
"stddev": 120.92248317000461, "stddev": 180.19629658791482,
"cv": 0.004066812850878315 "cv": 0.004804609848274523
}, },
"p50": 3, "p50": 2,
"p99": 6, "p99": 3,
"p999": 7 "p999": 5
}, },
{ {
"framework": "nestjs-express", "framework": "nestjs-express",
"reqSec": { "reqSec": {
"median": 9679.64, "median": 10066.55,
"min": 9566.91, "min": 9990.91,
"max": 9738.55, "max": 10121.6,
"stddev": 58.2951632985104, "stddev": 49.181765970733586,
"cv": 0.006025529205104781 "cv": 0.0048902075440459426
}, },
"p50": 9, "p50": 9,
"p99": 15, "p99": 13,
"p999": 21 "p999": 16
}, },
{ {
"framework": "nestjs-fastify", "framework": "nestjs-fastify",
"reqSec": { "reqSec": {
"median": 32418.91, "median": 36205.1,
"min": 32103.28, "min": 35969.46,
"max": 32582.55, "max": 36626.91,
"stddev": 159.574135748874, "stddev": 239.33000477165558,
"cv": 0.004929287112917938 "cv": 0.006602437612625466
}, },
"p50": 3, "p50": 2,
"p99": 4, "p99": 3,
"p999": 6 "p999": 4
} }
] ]
}, },
@@ -107,11 +107,11 @@
{ {
"framework": "raw-http", "framework": "raw-http",
"reqSec": { "reqSec": {
"median": 41755.64, "median": 47661.1,
"min": 40952.73, "min": 47061.82,
"max": 42017.46, "max": 48027.64,
"stddev": 439.72294183496837, "stddev": 334.1152775914324,
"cv": 0.010587809774433589 "cv": 0.007027904143674679
}, },
"p50": 2, "p50": 2,
"p99": 3, "p99": 3,
@@ -120,67 +120,67 @@
{ {
"framework": "fastify", "framework": "fastify",
"reqSec": { "reqSec": {
"median": 31708.37, "median": 36135.28,
"min": 31359.28, "min": 35867.64,
"max": 31846.55, "max": 36391.28,
"stddev": 168.73300179869975, "stddev": 184.11967651503156,
"cv": 0.005328784944282288 "cv": 0.005092910836977374
}, },
"p50": 3, "p50": 2,
"p99": 4, "p99": 3,
"p999": 5 "p999": 4
}, },
{ {
"framework": "express", "framework": "express",
"reqSec": { "reqSec": {
"median": 10375.64, "median": 10889.1,
"min": 10364, "min": 10872.37,
"max": 10452.73, "max": 10924.73,
"stddev": 37.668132419858544, "stddev": 18.709325375330668,
"cv": 0.003621859193349617 "cv": 0.0017176428734098992
}, },
"p50": 9, "p50": 8,
"p99": 12, "p99": 12,
"p999": 17 "p999": 14
}, },
{ {
"framework": "green-tea", "framework": "green-tea",
"reqSec": { "reqSec": {
"median": 28706.19, "median": 35000.73,
"min": 28562.19, "min": 34878.55,
"max": 29050.91, "max": 35088,
"stddev": 166.92265315408858, "stddev": 69.54965035138484,
"cv": 0.005803163694455583 "cv": 0.001987752137162527
}, },
"p50": 3, "p50": 2,
"p99": 6, "p99": 4,
"p999": 7 "p999": 5
}, },
{ {
"framework": "nestjs-express", "framework": "nestjs-express",
"reqSec": { "reqSec": {
"median": 9257.1, "median": 9589.46,
"min": 9244, "min": 9534.91,
"max": 9285.46, "max": 9676,
"stddev": 16.97885461390117, "stddev": 49.39604299941435,
"cv": 0.0018327336012062287 "cv": 0.0051436658697942604
}, },
"p50": 10, "p50": 10,
"p99": 15, "p99": 14,
"p999": 21 "p999": 16
}, },
{ {
"framework": "nestjs-fastify", "framework": "nestjs-fastify",
"reqSec": { "reqSec": {
"median": 29880, "median": 33253.1,
"min": 29744.73, "min": 32969.46,
"max": 29961.46, "max": 33756,
"stddev": 90.38256681462417, "stddev": 254.90284160048154,
"cv": 0.003027383166346 "cv": 0.007652733271277979
}, },
"p50": 3, "p50": 3,
"p99": 4, "p99": 3,
"p999": 6 "p999": 4
} }
] ]
}, },
@@ -192,80 +192,80 @@
{ {
"framework": "raw-http", "framework": "raw-http",
"reqSec": { "reqSec": {
"median": 39896.73, "median": 46360.73,
"min": 39847.28, "min": 46192,
"max": 40440.73, "max": 46509.1,
"stddev": 235.6558649726337, "stddev": 111.17974682467946,
"cv": 0.0058846766178520865 "cv": 0.002398415644709733
},
"p50": 2,
"p99": 3,
"p999": 4
},
{
"framework": "fastify",
"reqSec": {
"median": 35329.46,
"min": 35026.91,
"max": 35536,
"stddev": 189.35963174868976,
"cv": 0.0053689295267283325
}, },
"p50": 2, "p50": 2,
"p99": 3, "p99": 3,
"p999": 5 "p999": 5
}, },
{
"framework": "fastify",
"reqSec": {
"median": 31436.37,
"min": 31078.55,
"max": 31562.91,
"stddev": 185.21052212010017,
"cv": 0.005909263441314207
},
"p50": 3,
"p99": 4,
"p999": 6
},
{ {
"framework": "express", "framework": "express",
"reqSec": { "reqSec": {
"median": 10365.46, "median": 10935.64,
"min": 10170.55, "min": 10754.55,
"max": 10542.19, "max": 11023.64,
"stddev": 129.83340146510884, "stddev": 90.09481170411546,
"cv": 0.01252603707960138 "cv": 0.008251152407480157
}, },
"p50": 9, "p50": 8,
"p99": 12, "p99": 13,
"p999": 18 "p999": 14
}, },
{ {
"framework": "green-tea", "framework": "green-tea",
"reqSec": { "reqSec": {
"median": 26838.55, "median": 33374.55,
"min": 26783.28, "min": 33092.37,
"max": 26872, "max": 33568.73,
"stddev": 35.930271582608675, "stddev": 154.68541992056046,
"cv": 0.0013390899572667937 "cv": 0.004639644133664113
}, },
"p50": 3, "p50": 2,
"p99": 6, "p99": 3,
"p999": 8 "p999": 5
}, },
{ {
"framework": "nestjs-express", "framework": "nestjs-express",
"reqSec": { "reqSec": {
"median": 9256.37, "median": 9605.46,
"min": 9187.28, "min": 9484.73,
"max": 9302.19, "max": 9652,
"stddev": 42.180541200890175, "stddev": 62.41935917646065,
"cv": 0.0045584972844857205 "cv": 0.006518360010616271
}, },
"p50": 10, "p50": 10,
"p99": 15, "p99": 14,
"p999": 22 "p999": 17
}, },
{ {
"framework": "nestjs-fastify", "framework": "nestjs-fastify",
"reqSec": { "reqSec": {
"median": 29402.91, "median": 32767.28,
"min": 29151.28, "min": 32559.28,
"max": 29689.46, "max": 32994.91,
"stddev": 189.99449229911926, "stddev": 150.4312969298629,
"cv": 0.006460862473261261 "cv": 0.004587519776661802
}, },
"p50": 3, "p50": 3,
"p99": 4, "p99": 3,
"p999": 6 "p999": 4
} }
] ]
}, },
@@ -276,80 +276,80 @@
{ {
"framework": "raw-http", "framework": "raw-http",
"reqSec": { "reqSec": {
"median": 31783.28, "median": 34945.46,
"min": 31517.1, "min": 34637.1,
"max": 31824.73, "max": 35079.28,
"stddev": 111.5598838292694, "stddev": 147.87762107905314,
"cv": 0.003516116881358333 "cv": 0.004238372721839537
}, },
"p50": 3, "p50": 2,
"p99": 5, "p99": 3,
"p999": 6 "p999": 5
}, },
{ {
"framework": "fastify", "framework": "fastify",
"reqSec": { "reqSec": {
"median": 20429.82, "median": 28345.46,
"min": 20397.82, "min": 28239.28,
"max": 20601.46, "max": 28537.46,
"stddev": 73.12471046096515, "stddev": 104.51947619463081,
"cv": 0.0035727493036941836 "cv": 0.0036825069822342044
}, },
"p50": 4, "p50": 3,
"p99": 8, "p99": 4,
"p999": 9 "p999": 6
}, },
{ {
"framework": "express", "framework": "express",
"reqSec": { "reqSec": {
"median": 8440.37, "median": 9019.28,
"min": 8407.64, "min": 8984.91,
"max": 8492, "max": 9084,
"stddev": 29.52737333390846, "stddev": 32.592512391652114,
"cv": 0.003496408589959768 "cv": 0.003611277084889395
}, },
"p50": 11, "p50": 10,
"p99": 16, "p99": 14,
"p999": 24 "p999": 22
}, },
{ {
"framework": "green-tea", "framework": "green-tea",
"reqSec": { "reqSec": {
"median": 22005.1, "median": 24495.28,
"min": 21736, "min": 24378.91,
"max": 22186.91, "max": 24745.46,
"stddev": 149.1731413626461, "stddev": 131.18982628237575,
"cv": 0.006790967759795645 "cv": 0.005350572306127685
}, },
"p50": 4, "p50": 4,
"p99": 7, "p99": 5,
"p999": 9 "p999": 7
}, },
{ {
"framework": "nestjs-express", "framework": "nestjs-express",
"reqSec": { "reqSec": {
"median": 7666.37, "median": 8107.1,
"min": 7645.28, "min": 8077.82,
"max": 7703.46, "max": 8165.64,
"stddev": 20.418688106732038, "stddev": 33.73639957079006,
"cv": 0.002662071942974812 "cv": 0.004157687523312779
}, },
"p50": 12, "p50": 11,
"p99": 18, "p99": 17,
"p999": 26 "p999": 26
}, },
{ {
"framework": "nestjs-fastify", "framework": "nestjs-fastify",
"reqSec": { "reqSec": {
"median": 18596.8, "median": 24102.55,
"min": 18540.37, "min": 23728.73,
"max": 18658.19, "max": 24163.64,
"stddev": 37.943211988443956, "stddev": 190.77768416667587,
"cv": 0.0020404741150848267 "cv": 0.007957219028998775
}, },
"p50": 4, "p50": 4,
"p99": 8, "p99": 6,
"p999": 11 "p999": 7
} }
] ]
} }
@@ -358,89 +358,89 @@
{ {
"path": "/steps/0", "path": "/steps/0",
"steps": 0, "steps": 0,
"reqSec": 29196.37 "reqSec": 36423.28
}, },
{ {
"path": "/steps/3", "path": "/steps/3",
"steps": 3, "steps": 3,
"reqSec": 26563.64 "reqSec": 32436.37
}, },
{ {
"path": "/steps/5", "path": "/steps/5",
"steps": 5, "steps": 5,
"reqSec": 25314.19 "reqSec": 30549.1
} }
], ],
"secureCost": [ "secureCost": [
{ {
"label": "security:false (parity)", "label": "security:false (parity)",
"reqSec": 29776.73 "reqSec": 37598.55
}, },
{ {
"label": "security:true (default)", "label": "security:true (default)",
"reqSec": 28918.55 "reqSec": 36507.64
} }
], ],
"runtimes": [ "runtimes": [
{ {
"runtime": "node", "runtime": "node",
"scenario": "JSON hello (overhead)", "scenario": "JSON hello (overhead)",
"reqSec": 30378.91 "reqSec": 38119.28
}, },
{ {
"runtime": "node", "runtime": "node",
"scenario": "Route param", "scenario": "Route param",
"reqSec": 29203.64 "reqSec": 35335.28
}, },
{ {
"runtime": "node", "runtime": "node",
"scenario": "Pipeline (3 steps)", "scenario": "Pipeline (3 steps)",
"reqSec": 27208 "reqSec": 33776
}, },
{ {
"runtime": "node", "runtime": "node",
"scenario": "POST JSON + validation", "scenario": "POST JSON + validation",
"reqSec": 22608.73 "reqSec": 24758.55
}, },
{ {
"runtime": "deno", "runtime": "deno",
"scenario": "JSON hello (overhead)", "scenario": "JSON hello (overhead)",
"reqSec": 51888 "reqSec": 61792
}, },
{ {
"runtime": "deno", "runtime": "deno",
"scenario": "Route param", "scenario": "Route param",
"reqSec": 51785.6 "reqSec": 61918.55
}, },
{ {
"runtime": "deno", "runtime": "deno",
"scenario": "Pipeline (3 steps)", "scenario": "Pipeline (3 steps)",
"reqSec": 50692.37 "reqSec": 59521.46
}, },
{ {
"runtime": "deno", "runtime": "deno",
"scenario": "POST JSON + validation", "scenario": "POST JSON + validation",
"reqSec": 35742.55 "reqSec": 38561.46
}, },
{ {
"runtime": "bun", "runtime": "bun",
"scenario": "JSON hello (overhead)", "scenario": "JSON hello (overhead)",
"reqSec": 46299.64 "reqSec": 54427.64
}, },
{ {
"runtime": "bun", "runtime": "bun",
"scenario": "Route param", "scenario": "Route param",
"reqSec": 42788.37 "reqSec": 48443.64
}, },
{ {
"runtime": "bun", "runtime": "bun",
"scenario": "Pipeline (3 steps)", "scenario": "Pipeline (3 steps)",
"reqSec": 39643.64 "reqSec": 44955.64
}, },
{ {
"runtime": "bun", "runtime": "bun",
"scenario": "POST JSON + validation", "scenario": "POST JSON + validation",
"reqSec": 31960 "reqSec": 35268.37
} }
] ]
} }