docs(bench): regenerate the tables for RC.1 and record the beta.2 gate #180
No files matched your search
+118
-37
@@ -4,9 +4,9 @@
|
||||
|
||||
## Environment
|
||||
|
||||
- **Date**: 2026-09-22
|
||||
- **Commit**: daf0fed
|
||||
- **Node**: v22.22.2
|
||||
- **Date**: 2026-10-29
|
||||
- **Commit**: 4566f31
|
||||
- **Node**: v22.23.1
|
||||
- **OS**: linux
|
||||
- **CPU**: AMD Ryzen 7 3700X 8-Core Processor (16 cores)
|
||||
- **RAM**: 67 GB
|
||||
@@ -29,72 +29,72 @@
|
||||
|
||||
| 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 |
|
||||
| nestjs-fastify | 32,419 | 3.00 | 4.00 | 6.00 | 0.5% | 32,103–32,583 |
|
||||
| fastify | 32,170 | 3.00 | 3.00 | 5.00 | 1.3% | 31,236–32,356 |
|
||||
| green-tea | 29,777 | 3.00 | 6.00 | 7.00 | 0.4% | 29,557–29,873 |
|
||||
| express | 10,546 | 8.00 | 13.00 | 18.00 | 0.4% | 10,480–10,625 |
|
||||
| nestjs-express | 9,680 | 9.00 | 15.00 | 21.00 | 0.6% | 9,567–9,739 |
|
||||
| raw-http | 47,469 | 2.00 | 3.00 | 4.00 | 0.6% | 47,193–48,004 |
|
||||
| green-tea | 37,599 | 2.00 | 3.00 | 5.00 | 0.5% | 37,162–37,654 |
|
||||
| fastify | 36,740 | 2.00 | 3.00 | 4.00 | 0.6% | 36,641–37,244 |
|
||||
| nestjs-fastify | 36,205 | 2.00 | 3.00 | 4.00 | 0.7% | 35,969–36,627 |
|
||||
| express | 11,099 | 8.00 | 12.00 | 14.00 | 0.6% | 11,000–11,183 |
|
||||
| nestjs-express | 10,067 | 9.00 | 13.00 | 16.00 | 0.5% | 9,991–10,122 |
|
||||
|
||||
### Route param
|
||||
|
||||
| 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 |
|
||||
| fastify | 31,708 | 3.00 | 4.00 | 5.00 | 0.5% | 31,359–31,847 |
|
||||
| nestjs-fastify | 29,880 | 3.00 | 4.00 | 6.00 | 0.3% | 29,745–29,961 |
|
||||
| green-tea | 28,706 | 3.00 | 6.00 | 7.00 | 0.6% | 28,562–29,051 |
|
||||
| express | 10,376 | 9.00 | 12.00 | 17.00 | 0.4% | 10,364–10,453 |
|
||||
| nestjs-express | 9,257 | 10.00 | 15.00 | 21.00 | 0.2% | 9,244–9,285 |
|
||||
| raw-http | 47,661 | 2.00 | 3.00 | 4.00 | 0.7% | 47,062–48,028 |
|
||||
| fastify | 36,135 | 2.00 | 3.00 | 4.00 | 0.5% | 35,868–36,391 |
|
||||
| green-tea | 35,001 | 2.00 | 4.00 | 5.00 | 0.2% | 34,879–35,088 |
|
||||
| nestjs-fastify | 33,253 | 3.00 | 3.00 | 4.00 | 0.8% | 32,969–33,756 |
|
||||
| express | 10,889 | 8.00 | 12.00 | 14.00 | 0.2% | 10,872–10,925 |
|
||||
| nestjs-express | 9,589 | 10.00 | 14.00 | 16.00 | 0.5% | 9,535–9,676 |
|
||||
|
||||
### Pipeline (3 steps) (approximation)
|
||||
|
||||
| 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 |
|
||||
| fastify | 31,436 | 3.00 | 4.00 | 6.00 | 0.6% | 31,079–31,563 |
|
||||
| nestjs-fastify | 29,403 | 3.00 | 4.00 | 6.00 | 0.6% | 29,151–29,689 |
|
||||
| green-tea | 26,839 | 3.00 | 6.00 | 8.00 | 0.1% | 26,783–26,872 |
|
||||
| express | 10,365 | 9.00 | 12.00 | 18.00 | 1.3% | 10,171–10,542 |
|
||||
| nestjs-express | 9,256 | 10.00 | 15.00 | 22.00 | 0.5% | 9,187–9,302 |
|
||||
| raw-http | 46,361 | 2.00 | 3.00 | 4.00 | 0.2% | 46,192–46,509 |
|
||||
| fastify | 35,329 | 2.00 | 3.00 | 5.00 | 0.5% | 35,027–35,536 |
|
||||
| green-tea | 33,375 | 2.00 | 3.00 | 5.00 | 0.5% | 33,092–33,569 |
|
||||
| nestjs-fastify | 32,767 | 3.00 | 3.00 | 4.00 | 0.5% | 32,559–32,995 |
|
||||
| express | 10,936 | 8.00 | 13.00 | 14.00 | 0.8% | 10,755–11,024 |
|
||||
| nestjs-express | 9,605 | 10.00 | 14.00 | 17.00 | 0.7% | 9,485–9,652 |
|
||||
|
||||
### POST JSON + validation
|
||||
|
||||
| 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 |
|
||||
| green-tea | 22,005 | 4.00 | 7.00 | 9.00 | 0.7% | 21,736–22,187 |
|
||||
| fastify | 20,430 | 4.00 | 8.00 | 9.00 | 0.4% | 20,398–20,601 |
|
||||
| nestjs-fastify | 18,597 | 4.00 | 8.00 | 11.00 | 0.2% | 18,540–18,658 |
|
||||
| express | 8,440 | 11.00 | 16.00 | 24.00 | 0.3% | 8,408–8,492 |
|
||||
| nestjs-express | 7,666 | 12.00 | 18.00 | 26.00 | 0.3% | 7,645–7,703 |
|
||||
| raw-http | 34,945 | 2.00 | 3.00 | 5.00 | 0.4% | 34,637–35,079 |
|
||||
| fastify | 28,345 | 3.00 | 4.00 | 6.00 | 0.4% | 28,239–28,537 |
|
||||
| green-tea | 24,495 | 4.00 | 5.00 | 7.00 | 0.5% | 24,379–24,745 |
|
||||
| nestjs-fastify | 24,103 | 4.00 | 6.00 | 7.00 | 0.8% | 23,729–24,164 |
|
||||
| express | 9,019 | 10.00 | 14.00 | 22.00 | 0.4% | 8,985–9,084 |
|
||||
| nestjs-express | 8,107 | 11.00 | 17.00 | 26.00 | 0.4% | 8,078–8,166 |
|
||||
|
||||
## Step-scaling (green-tea)
|
||||
|
||||
| Path | Steps | req/s |
|
||||
| --- | --- | --- |
|
||||
| /steps/0 | 0 | 29,196 |
|
||||
| /steps/3 | 3 | 26,564 |
|
||||
| /steps/5 | 5 | 25,314 |
|
||||
| /steps/0 | 0 | 36,423 |
|
||||
| /steps/3 | 3 | 32,436 |
|
||||
| /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
|
||||
|
||||
| Scenario | node | deno | bun |
|
||||
| --- | --- | --- | --- |
|
||||
| JSON hello (overhead) | 30,379 | 51,888 | 46,300 |
|
||||
| Route param | 29,204 | 51,786 | 42,788 |
|
||||
| Pipeline (3 steps) | 27,208 | 50,692 | 39,644 |
|
||||
| POST JSON + validation | 22,609 | 35,743 | 31,960 |
|
||||
| JSON hello (overhead) | 38,119 | 61,792 | 54,428 |
|
||||
| Route param | 35,335 | 61,919 | 48,444 |
|
||||
| Pipeline (3 steps) | 33,776 | 59,521 | 44,956 |
|
||||
| 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.
|
||||
## Cost of secure-by-default (green-tea)
|
||||
|
||||
| Label | req/s |
|
||||
| --- | --- |
|
||||
| security:false (parity) | 29,777 |
|
||||
| security:true (default) | 28,919 |
|
||||
| security:false (parity) | 37,599 |
|
||||
| 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.
|
||||
|
||||
@@ -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
|
||||
`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`
|
||||
|
||||
Ten cases, both trees on one box in one sitting, alternating which side ran first each round, sharing
|
||||
|
||||
+197
-197
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"env": {
|
||||
"date": "2026-09-22",
|
||||
"commit": "daf0fed",
|
||||
"node": "v22.22.2",
|
||||
"date": "2026-10-29",
|
||||
"commit": "4566f31",
|
||||
"node": "v22.23.1",
|
||||
"os": "linux",
|
||||
"cpu": "AMD Ryzen 7 3700X 8-Core Processor (16 cores)",
|
||||
"ram": "67 GB",
|
||||
@@ -23,11 +23,11 @@
|
||||
{
|
||||
"framework": "raw-http",
|
||||
"reqSec": {
|
||||
"median": 41630.55,
|
||||
"min": 41342.55,
|
||||
"max": 41973.82,
|
||||
"stddev": 232.79156158245826,
|
||||
"cv": 0.0055977118567263305
|
||||
"median": 47469.1,
|
||||
"min": 47192.73,
|
||||
"max": 48004.37,
|
||||
"stddev": 269.02890451399486,
|
||||
"cv": 0.0056617632193964144
|
||||
},
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
@@ -36,67 +36,67 @@
|
||||
{
|
||||
"framework": "fastify",
|
||||
"reqSec": {
|
||||
"median": 32170.19,
|
||||
"min": 31235.64,
|
||||
"max": 32355.64,
|
||||
"stddev": 403.36620390905324,
|
||||
"cv": 0.012593571579786219
|
||||
"median": 36740.37,
|
||||
"min": 36641.46,
|
||||
"max": 37243.64,
|
||||
"stddev": 214.65425409248226,
|
||||
"cv": 0.005826132913876785
|
||||
},
|
||||
"p50": 3,
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
"p999": 5
|
||||
"p999": 4
|
||||
},
|
||||
{
|
||||
"framework": "express",
|
||||
"reqSec": {
|
||||
"median": 10545.82,
|
||||
"min": 10480.37,
|
||||
"max": 10625.1,
|
||||
"stddev": 47.02831087759791,
|
||||
"cv": 0.004456044641032285
|
||||
"median": 11098.55,
|
||||
"min": 11000.37,
|
||||
"max": 11182.91,
|
||||
"stddev": 66.7811100836154,
|
||||
"cv": 0.006025867495164444
|
||||
},
|
||||
"p50": 8,
|
||||
"p99": 13,
|
||||
"p999": 18
|
||||
"p99": 12,
|
||||
"p999": 14
|
||||
},
|
||||
{
|
||||
"framework": "green-tea",
|
||||
"reqSec": {
|
||||
"median": 29776.73,
|
||||
"min": 29557.1,
|
||||
"max": 29872.73,
|
||||
"stddev": 120.92248317000461,
|
||||
"cv": 0.004066812850878315
|
||||
"median": 37598.55,
|
||||
"min": 37162.19,
|
||||
"max": 37653.82,
|
||||
"stddev": 180.19629658791482,
|
||||
"cv": 0.004804609848274523
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 6,
|
||||
"p999": 7
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
"p999": 5
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-express",
|
||||
"reqSec": {
|
||||
"median": 9679.64,
|
||||
"min": 9566.91,
|
||||
"max": 9738.55,
|
||||
"stddev": 58.2951632985104,
|
||||
"cv": 0.006025529205104781
|
||||
"median": 10066.55,
|
||||
"min": 9990.91,
|
||||
"max": 10121.6,
|
||||
"stddev": 49.181765970733586,
|
||||
"cv": 0.0048902075440459426
|
||||
},
|
||||
"p50": 9,
|
||||
"p99": 15,
|
||||
"p999": 21
|
||||
"p99": 13,
|
||||
"p999": 16
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-fastify",
|
||||
"reqSec": {
|
||||
"median": 32418.91,
|
||||
"min": 32103.28,
|
||||
"max": 32582.55,
|
||||
"stddev": 159.574135748874,
|
||||
"cv": 0.004929287112917938
|
||||
"median": 36205.1,
|
||||
"min": 35969.46,
|
||||
"max": 36626.91,
|
||||
"stddev": 239.33000477165558,
|
||||
"cv": 0.006602437612625466
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 4,
|
||||
"p999": 6
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
"p999": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -107,11 +107,11 @@
|
||||
{
|
||||
"framework": "raw-http",
|
||||
"reqSec": {
|
||||
"median": 41755.64,
|
||||
"min": 40952.73,
|
||||
"max": 42017.46,
|
||||
"stddev": 439.72294183496837,
|
||||
"cv": 0.010587809774433589
|
||||
"median": 47661.1,
|
||||
"min": 47061.82,
|
||||
"max": 48027.64,
|
||||
"stddev": 334.1152775914324,
|
||||
"cv": 0.007027904143674679
|
||||
},
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
@@ -120,67 +120,67 @@
|
||||
{
|
||||
"framework": "fastify",
|
||||
"reqSec": {
|
||||
"median": 31708.37,
|
||||
"min": 31359.28,
|
||||
"max": 31846.55,
|
||||
"stddev": 168.73300179869975,
|
||||
"cv": 0.005328784944282288
|
||||
"median": 36135.28,
|
||||
"min": 35867.64,
|
||||
"max": 36391.28,
|
||||
"stddev": 184.11967651503156,
|
||||
"cv": 0.005092910836977374
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 4,
|
||||
"p999": 5
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
"p999": 4
|
||||
},
|
||||
{
|
||||
"framework": "express",
|
||||
"reqSec": {
|
||||
"median": 10375.64,
|
||||
"min": 10364,
|
||||
"max": 10452.73,
|
||||
"stddev": 37.668132419858544,
|
||||
"cv": 0.003621859193349617
|
||||
"median": 10889.1,
|
||||
"min": 10872.37,
|
||||
"max": 10924.73,
|
||||
"stddev": 18.709325375330668,
|
||||
"cv": 0.0017176428734098992
|
||||
},
|
||||
"p50": 9,
|
||||
"p50": 8,
|
||||
"p99": 12,
|
||||
"p999": 17
|
||||
"p999": 14
|
||||
},
|
||||
{
|
||||
"framework": "green-tea",
|
||||
"reqSec": {
|
||||
"median": 28706.19,
|
||||
"min": 28562.19,
|
||||
"max": 29050.91,
|
||||
"stddev": 166.92265315408858,
|
||||
"cv": 0.005803163694455583
|
||||
"median": 35000.73,
|
||||
"min": 34878.55,
|
||||
"max": 35088,
|
||||
"stddev": 69.54965035138484,
|
||||
"cv": 0.001987752137162527
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 6,
|
||||
"p999": 7
|
||||
"p50": 2,
|
||||
"p99": 4,
|
||||
"p999": 5
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-express",
|
||||
"reqSec": {
|
||||
"median": 9257.1,
|
||||
"min": 9244,
|
||||
"max": 9285.46,
|
||||
"stddev": 16.97885461390117,
|
||||
"cv": 0.0018327336012062287
|
||||
"median": 9589.46,
|
||||
"min": 9534.91,
|
||||
"max": 9676,
|
||||
"stddev": 49.39604299941435,
|
||||
"cv": 0.0051436658697942604
|
||||
},
|
||||
"p50": 10,
|
||||
"p99": 15,
|
||||
"p999": 21
|
||||
"p99": 14,
|
||||
"p999": 16
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-fastify",
|
||||
"reqSec": {
|
||||
"median": 29880,
|
||||
"min": 29744.73,
|
||||
"max": 29961.46,
|
||||
"stddev": 90.38256681462417,
|
||||
"cv": 0.003027383166346
|
||||
"median": 33253.1,
|
||||
"min": 32969.46,
|
||||
"max": 33756,
|
||||
"stddev": 254.90284160048154,
|
||||
"cv": 0.007652733271277979
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 4,
|
||||
"p999": 6
|
||||
"p99": 3,
|
||||
"p999": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -192,80 +192,80 @@
|
||||
{
|
||||
"framework": "raw-http",
|
||||
"reqSec": {
|
||||
"median": 39896.73,
|
||||
"min": 39847.28,
|
||||
"max": 40440.73,
|
||||
"stddev": 235.6558649726337,
|
||||
"cv": 0.0058846766178520865
|
||||
"median": 46360.73,
|
||||
"min": 46192,
|
||||
"max": 46509.1,
|
||||
"stddev": 111.17974682467946,
|
||||
"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,
|
||||
"p99": 3,
|
||||
"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",
|
||||
"reqSec": {
|
||||
"median": 10365.46,
|
||||
"min": 10170.55,
|
||||
"max": 10542.19,
|
||||
"stddev": 129.83340146510884,
|
||||
"cv": 0.01252603707960138
|
||||
"median": 10935.64,
|
||||
"min": 10754.55,
|
||||
"max": 11023.64,
|
||||
"stddev": 90.09481170411546,
|
||||
"cv": 0.008251152407480157
|
||||
},
|
||||
"p50": 9,
|
||||
"p99": 12,
|
||||
"p999": 18
|
||||
"p50": 8,
|
||||
"p99": 13,
|
||||
"p999": 14
|
||||
},
|
||||
{
|
||||
"framework": "green-tea",
|
||||
"reqSec": {
|
||||
"median": 26838.55,
|
||||
"min": 26783.28,
|
||||
"max": 26872,
|
||||
"stddev": 35.930271582608675,
|
||||
"cv": 0.0013390899572667937
|
||||
"median": 33374.55,
|
||||
"min": 33092.37,
|
||||
"max": 33568.73,
|
||||
"stddev": 154.68541992056046,
|
||||
"cv": 0.004639644133664113
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 6,
|
||||
"p999": 8
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
"p999": 5
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-express",
|
||||
"reqSec": {
|
||||
"median": 9256.37,
|
||||
"min": 9187.28,
|
||||
"max": 9302.19,
|
||||
"stddev": 42.180541200890175,
|
||||
"cv": 0.0045584972844857205
|
||||
"median": 9605.46,
|
||||
"min": 9484.73,
|
||||
"max": 9652,
|
||||
"stddev": 62.41935917646065,
|
||||
"cv": 0.006518360010616271
|
||||
},
|
||||
"p50": 10,
|
||||
"p99": 15,
|
||||
"p999": 22
|
||||
"p99": 14,
|
||||
"p999": 17
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-fastify",
|
||||
"reqSec": {
|
||||
"median": 29402.91,
|
||||
"min": 29151.28,
|
||||
"max": 29689.46,
|
||||
"stddev": 189.99449229911926,
|
||||
"cv": 0.006460862473261261
|
||||
"median": 32767.28,
|
||||
"min": 32559.28,
|
||||
"max": 32994.91,
|
||||
"stddev": 150.4312969298629,
|
||||
"cv": 0.004587519776661802
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 4,
|
||||
"p999": 6
|
||||
"p99": 3,
|
||||
"p999": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -276,80 +276,80 @@
|
||||
{
|
||||
"framework": "raw-http",
|
||||
"reqSec": {
|
||||
"median": 31783.28,
|
||||
"min": 31517.1,
|
||||
"max": 31824.73,
|
||||
"stddev": 111.5598838292694,
|
||||
"cv": 0.003516116881358333
|
||||
"median": 34945.46,
|
||||
"min": 34637.1,
|
||||
"max": 35079.28,
|
||||
"stddev": 147.87762107905314,
|
||||
"cv": 0.004238372721839537
|
||||
},
|
||||
"p50": 3,
|
||||
"p99": 5,
|
||||
"p999": 6
|
||||
"p50": 2,
|
||||
"p99": 3,
|
||||
"p999": 5
|
||||
},
|
||||
{
|
||||
"framework": "fastify",
|
||||
"reqSec": {
|
||||
"median": 20429.82,
|
||||
"min": 20397.82,
|
||||
"max": 20601.46,
|
||||
"stddev": 73.12471046096515,
|
||||
"cv": 0.0035727493036941836
|
||||
"median": 28345.46,
|
||||
"min": 28239.28,
|
||||
"max": 28537.46,
|
||||
"stddev": 104.51947619463081,
|
||||
"cv": 0.0036825069822342044
|
||||
},
|
||||
"p50": 4,
|
||||
"p99": 8,
|
||||
"p999": 9
|
||||
"p50": 3,
|
||||
"p99": 4,
|
||||
"p999": 6
|
||||
},
|
||||
{
|
||||
"framework": "express",
|
||||
"reqSec": {
|
||||
"median": 8440.37,
|
||||
"min": 8407.64,
|
||||
"max": 8492,
|
||||
"stddev": 29.52737333390846,
|
||||
"cv": 0.003496408589959768
|
||||
"median": 9019.28,
|
||||
"min": 8984.91,
|
||||
"max": 9084,
|
||||
"stddev": 32.592512391652114,
|
||||
"cv": 0.003611277084889395
|
||||
},
|
||||
"p50": 11,
|
||||
"p99": 16,
|
||||
"p999": 24
|
||||
"p50": 10,
|
||||
"p99": 14,
|
||||
"p999": 22
|
||||
},
|
||||
{
|
||||
"framework": "green-tea",
|
||||
"reqSec": {
|
||||
"median": 22005.1,
|
||||
"min": 21736,
|
||||
"max": 22186.91,
|
||||
"stddev": 149.1731413626461,
|
||||
"cv": 0.006790967759795645
|
||||
"median": 24495.28,
|
||||
"min": 24378.91,
|
||||
"max": 24745.46,
|
||||
"stddev": 131.18982628237575,
|
||||
"cv": 0.005350572306127685
|
||||
},
|
||||
"p50": 4,
|
||||
"p99": 7,
|
||||
"p999": 9
|
||||
"p99": 5,
|
||||
"p999": 7
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-express",
|
||||
"reqSec": {
|
||||
"median": 7666.37,
|
||||
"min": 7645.28,
|
||||
"max": 7703.46,
|
||||
"stddev": 20.418688106732038,
|
||||
"cv": 0.002662071942974812
|
||||
"median": 8107.1,
|
||||
"min": 8077.82,
|
||||
"max": 8165.64,
|
||||
"stddev": 33.73639957079006,
|
||||
"cv": 0.004157687523312779
|
||||
},
|
||||
"p50": 12,
|
||||
"p99": 18,
|
||||
"p50": 11,
|
||||
"p99": 17,
|
||||
"p999": 26
|
||||
},
|
||||
{
|
||||
"framework": "nestjs-fastify",
|
||||
"reqSec": {
|
||||
"median": 18596.8,
|
||||
"min": 18540.37,
|
||||
"max": 18658.19,
|
||||
"stddev": 37.943211988443956,
|
||||
"cv": 0.0020404741150848267
|
||||
"median": 24102.55,
|
||||
"min": 23728.73,
|
||||
"max": 24163.64,
|
||||
"stddev": 190.77768416667587,
|
||||
"cv": 0.007957219028998775
|
||||
},
|
||||
"p50": 4,
|
||||
"p99": 8,
|
||||
"p999": 11
|
||||
"p99": 6,
|
||||
"p999": 7
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -358,89 +358,89 @@
|
||||
{
|
||||
"path": "/steps/0",
|
||||
"steps": 0,
|
||||
"reqSec": 29196.37
|
||||
"reqSec": 36423.28
|
||||
},
|
||||
{
|
||||
"path": "/steps/3",
|
||||
"steps": 3,
|
||||
"reqSec": 26563.64
|
||||
"reqSec": 32436.37
|
||||
},
|
||||
{
|
||||
"path": "/steps/5",
|
||||
"steps": 5,
|
||||
"reqSec": 25314.19
|
||||
"reqSec": 30549.1
|
||||
}
|
||||
],
|
||||
"secureCost": [
|
||||
{
|
||||
"label": "security:false (parity)",
|
||||
"reqSec": 29776.73
|
||||
"reqSec": 37598.55
|
||||
},
|
||||
{
|
||||
"label": "security:true (default)",
|
||||
"reqSec": 28918.55
|
||||
"reqSec": 36507.64
|
||||
}
|
||||
],
|
||||
"runtimes": [
|
||||
{
|
||||
"runtime": "node",
|
||||
"scenario": "JSON hello (overhead)",
|
||||
"reqSec": 30378.91
|
||||
"reqSec": 38119.28
|
||||
},
|
||||
{
|
||||
"runtime": "node",
|
||||
"scenario": "Route param",
|
||||
"reqSec": 29203.64
|
||||
"reqSec": 35335.28
|
||||
},
|
||||
{
|
||||
"runtime": "node",
|
||||
"scenario": "Pipeline (3 steps)",
|
||||
"reqSec": 27208
|
||||
"reqSec": 33776
|
||||
},
|
||||
{
|
||||
"runtime": "node",
|
||||
"scenario": "POST JSON + validation",
|
||||
"reqSec": 22608.73
|
||||
"reqSec": 24758.55
|
||||
},
|
||||
{
|
||||
"runtime": "deno",
|
||||
"scenario": "JSON hello (overhead)",
|
||||
"reqSec": 51888
|
||||
"reqSec": 61792
|
||||
},
|
||||
{
|
||||
"runtime": "deno",
|
||||
"scenario": "Route param",
|
||||
"reqSec": 51785.6
|
||||
"reqSec": 61918.55
|
||||
},
|
||||
{
|
||||
"runtime": "deno",
|
||||
"scenario": "Pipeline (3 steps)",
|
||||
"reqSec": 50692.37
|
||||
"reqSec": 59521.46
|
||||
},
|
||||
{
|
||||
"runtime": "deno",
|
||||
"scenario": "POST JSON + validation",
|
||||
"reqSec": 35742.55
|
||||
"reqSec": 38561.46
|
||||
},
|
||||
{
|
||||
"runtime": "bun",
|
||||
"scenario": "JSON hello (overhead)",
|
||||
"reqSec": 46299.64
|
||||
"reqSec": 54427.64
|
||||
},
|
||||
{
|
||||
"runtime": "bun",
|
||||
"scenario": "Route param",
|
||||
"reqSec": 42788.37
|
||||
"reqSec": 48443.64
|
||||
},
|
||||
{
|
||||
"runtime": "bun",
|
||||
"scenario": "Pipeline (3 steps)",
|
||||
"reqSec": 39643.64
|
||||
"reqSec": 44955.64
|
||||
},
|
||||
{
|
||||
"runtime": "bun",
|
||||
"scenario": "POST JSON + validation",
|
||||
"reqSec": 31960
|
||||
"reqSec": 35268.37
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user