[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

[core] De-flake dev.test.ts cleanup hook timeout - #2416

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout
Jun 15, 2026
Merged

[core] De-flake dev.test.ts cleanup hook timeout#2416
VaguelySerious merged 1 commit into
mainfrom
peter/dev-test-cleanup-hook-timeout

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

The E2E Local Dev Tests lanes intermittently fail with:

FAIL packages/core/e2e/dev.test.ts > dev e2e > should rebuild on adding workflow file
Error: Hook timed out in 10000ms.
❯ packages/core/e2e/dev.test.ts:176:5 (the afterEach hook)

Most often on the webpack / eager-discovery (stable lazyDiscovery disabled) and Windows lanes. (example run)

Root cause

should rebuild on adding workflow file adds a workflow file and edits the api-file import. Its afterEach therefore takes the expensive cleanup path: it restores the api file and deletes the added workflow file — both trigger dev-server rebuilds — then runs two sequential prewarm() calls.

Each prewarm is Promise.all([fetch('/'), fetch('/api/chat')]), each fetch hard-bounded at 5s via AbortSignal.timeout. So the cleanup's worst case is ~2×5s of fetches plus file IO — right at vitest's default 10s hook timeout. The teardown runs precisely when the dev server is mid-rebuild (it's reverting the file add + import), so the prewarm fetches stall toward their 5s bound and the hook blows its 10s budget. The bounded fetches were added so cleanup "cannot hang," but the hook timeout was never raised above the sum of those bounds → marginal-by-construction → flaky.

This is independent of any product code — it reproduces on main/stable (the lane runs the repo's dev.test.ts against the stable SDK).

Fix

Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm fetch bound (20s), derived from a single shared constant (no duplicated magic number, per repo test conventions):

constPREWARM_FETCH_TIMEOUT_MS=5_000;constCLEANUP_HOOK_TIMEOUT_MS=PREWARM_FETCH_TIMEOUT_MS*4;// 20s

The fetches remain hard-bounded by AbortSignal.timeout, so the cleanup still can't hang indefinitely (worst case ≤ ~11s) — the hook just gets comfortable headroom over its bounded worst case. The two existing 5s fetch literals now reference the constant.

Validation

A timing flake on a rebuild-bound dev server isn't deterministically reproducible locally, so this is validated by the bounded-work arithmetic: worst case ≈ 2×5s + file IO ≈ ≤11s, now under a 20s budget instead of the 10s default. CI exercises it on the affected lanes.

The `should rebuild on adding workflow file` test tears down by restoring
an edited api file and deleting an added workflow file — both trigger dev
server rebuilds — then runs two *sequential* prewarm() calls. Each prewarm
fetch is bounded at 5s via AbortSignal.timeout, so the cleanup's worst case
is ~2×5s plus file IO, right at vitest's 10s default hook timeout. When the
dev server is mid-rebuild the fetches stall toward their bound and the hook
trips "Hook timed out in 10000ms" — flaky by construction, mainly on the
webpack/eager (stable lazyDiscovery-disabled) and Windows lanes.
Give the beforeAll/afterEach hooks an explicit budget of 4× the prewarm
fetch bound (20s), derived from a shared constant rather than a magic
number. The fetches remain hard-bounded so cleanup still can't hang
indefinitely; the hook just gets headroom over its bounded worst case.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a1e36b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202191661
✅ 💻 Local Development189502192114
✅ 📦 Local Production189502192114
✅ 🐘 Local Postgres188102332114
✅ 🪟 Windows15100151
✅ 📋 Other87901781057
Total8143010689211

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125026
✅ example125026
✅ express125026
✅ fastify125026
✅ hono125026
✅ nextjs-turbopack14902
✅ nextjs-webpack14902
✅ nitro125026
✅ nuxt125026
✅ sveltekit14407
✅ vite125026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable126025
✅ express-stable126025
✅ fastify-stable126025
✅ hono-stable126025
✅ nextjs-turbopack-canary132019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15100
✅ nextjs-turbopack-stable-lazy-discovery-enabled15100
✅ nextjs-webpack-canary132019
✅ nextjs-webpack-stable-lazy-discovery-disabled15100
✅ nextjs-webpack-stable-lazy-discovery-enabled15100
✅ nitro-stable126025
✅ nuxt-stable126025
✅ sveltekit-stable14506
✅ vite-stable126025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable125026
✅ express-stable125026
✅ fastify-stable125026
✅ hono-stable125026
✅ nextjs-turbopack-canary131020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15001
✅ nextjs-turbopack-stable-lazy-discovery-enabled15001
✅ nextjs-webpack-canary131020
✅ nextjs-webpack-stable-lazy-discovery-disabled15001
✅ nextjs-webpack-stable-lazy-discovery-enabled15001
✅ nitro-stable125026
✅ nuxt-stable125026
✅ sveltekit-stable14407
✅ vite-stable125026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15100
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable126025
✅ e2e-local-dev-tanstack-start-126025
✅ e2e-local-postgres-nest-stable125026
✅ e2e-local-postgres-tanstack-start-125026
✅ e2e-local-prod-nest-stable126025
✅ e2e-local-prod-tanstack-start-126025
✅ e2e-vercel-prod-tanstack-start125026

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.043s (+1.6%)1.006s (~)0.963s101.00x
💻 LocalNitro0.044s (-8.6% 🟢)1.006s (~)0.963s101.01x
💻 LocalNext.js (Turbopack)0.064s (+3.1%)1.006s (~)0.943s101.47x
🐘 PostgresExpress0.068s (+11.2% 🔺)1.012s (~)0.944s101.56x
🐘 PostgresNext.js (Turbopack)0.069s (+3.6%)1.012s (~)0.942s101.60x
🐘 PostgresNitro0.074s (+14.3% 🔺)1.018s (~)0.944s101.70x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.300s (-6.4% 🟢)2.353s (+2.8%)2.053s101.00x
▲ VercelNitro0.417s (+58.9% 🔺)2.371s (+0.6%)1.954s101.39x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.087s (-1.2%)2.006s (~)0.919s101.00x
💻 LocalExpress1.096s (-0.5%)2.006s (~)0.911s101.01x
🐘 PostgresExpress1.111s (~)2.011s (~)0.899s101.02x
🐘 PostgresNitro1.112s (~)2.010s (~)0.898s101.02x
💻 LocalNext.js (Turbopack)1.130s (-1.5%)2.007s (~)0.877s101.04x
🐘 PostgresNext.js (Turbopack)1.142s (-1.2%)2.009s (~)0.867s101.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.726s (+5.4% 🔺)3.521s (-7.3% 🟢)1.795s101.00x
▲ VercelExpress1.798s (+7.5% 🔺)3.775s (+2.8%)1.977s101.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.500s (-0.5%)11.022s (~)0.522s31.00x
🐘 PostgresNitro10.547s (~)11.017s (~)0.470s31.00x
💻 LocalNitro10.568s (~)11.022s (~)0.454s31.01x
🐘 PostgresExpress10.582s (~)11.021s (~)0.439s31.01x
💻 LocalNext.js (Turbopack)10.826s (~)11.023s (~)0.197s31.03x
🐘 PostgresNext.js (Turbopack)10.845s (-0.9%)11.017s (-3.0%)0.172s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express14.113s (~)15.992s (+2.7%)1.879s21.00x
▲ VercelNitro14.928s (-39.8% 🟢)16.928s (-35.2% 🟢)2.001s21.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.810s (~)14.228s (+1.4%)0.417s51.00x
💻 LocalNitro13.812s (~)14.027s (~)0.216s51.00x
🐘 PostgresExpress13.813s (~)14.022s (~)0.209s51.00x
🐘 PostgresNitro13.830s (~)14.022s (-1.4%)0.192s51.00x
💻 LocalNext.js (Turbopack)14.452s (-0.5%)15.029s (~)0.577s41.05x
🐘 PostgresNext.js (Turbopack)14.502s (-1.8%)15.018s (-1.7%)0.516s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro22.864s (+8.5% 🔺)24.762s (+7.9% 🔺)1.899s31.00x
▲ VercelExpress23.436s (+4.0%)25.702s (+5.3% 🔺)2.267s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.390s (-0.7%)13.025s (~)0.635s71.00x
💻 LocalNitro12.404s (-1.4%)13.025s (~)0.621s71.00x
🐘 PostgresExpress12.587s (+1.0%)13.024s (~)0.436s71.02x
🐘 PostgresNitro12.595s (+0.6%)13.019s (~)0.424s71.02x
💻 LocalNext.js (Turbopack)13.706s (+0.7%)14.025s (~)0.319s71.11x
🐘 PostgresNext.js (Turbopack)13.874s (~)14.302s (~)0.428s71.12x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.268s (+17.5% 🔺)37.027s (+14.6% 🔺)1.759s31.00x
▲ VercelExpress35.882s (-5.9% 🟢)37.648s (-4.9%)1.766s31.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.184s (~)2.006s (~)0.822s151.00x
🐘 PostgresNitro1.210s (~)2.008s (~)0.798s151.02x
🐘 PostgresExpress1.215s (+0.7%)2.008s (~)0.793s151.03x
💻 LocalExpress1.282s (+4.0%)2.006s (~)0.724s151.08x
🐘 PostgresNext.js (Turbopack)1.294s (+1.7%)2.007s (~)0.713s151.09x
💻 LocalNext.js (Turbopack)1.311s (~)2.006s (~)0.695s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.461s (+1.1%)4.149s (+2.6%)1.688s81.00x
▲ VercelExpress2.685s (-41.2% 🟢)4.512s (-24.9% 🟢)1.827s71.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.348s (-0.8%)2.222s (-7.2% 🟢)0.873s141.00x
🐘 PostgresNitro1.373s (-0.8%)2.509s (+4.8%)1.135s121.02x
🐘 PostgresNext.js (Turbopack)1.585s (+0.7%)2.151s (-6.2% 🟢)0.567s141.18x
💻 LocalNitro1.708s (-13.0% 🟢)2.005s (-13.4% 🟢)0.298s151.27x
💻 LocalExpress1.722s (+6.0% 🔺)2.006s (~)0.284s151.28x
💻 LocalNext.js (Turbopack)1.824s (+3.0%)2.074s (+3.4%)0.250s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.870s (-20.2% 🟢)4.755s (-6.6% 🟢)1.885s71.00x
▲ VercelNitro2.895s (-19.5% 🟢)4.907s (-9.9% 🟢)2.012s71.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.761s (+11.3% 🔺)4.139s (+3.1%)2.377s81.00x
🐘 PostgresNitro1.766s (+9.8% 🔺)3.888s (-6.2% 🟢)2.122s81.00x
🐘 PostgresNext.js (Turbopack)3.017s (-7.9% 🟢)3.795s (-5.5% 🟢)0.777s91.71x
💻 LocalExpress4.450s (+5.1% 🔺)5.180s (+9.7% 🔺)0.730s62.53x
💻 LocalNitro4.750s (-13.7% 🟢)5.514s (-8.3% 🟢)0.764s62.70x
💻 LocalNext.js (Turbopack)5.603s (+15.6% 🔺)6.215s (+16.2% 🔺)0.612s53.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.824s (-15.8% 🟢)6.087s (-3.3%)2.263s51.00x
▲ VercelExpress4.144s (-1.5%)6.309s (+4.1%)2.165s51.08x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.225s (+0.7%)2.074s (+3.3%)0.848s151.00x
🐘 PostgresExpress1.231s (+2.6%)2.008s (~)0.778s151.00x
🐘 PostgresNext.js (Turbopack)1.311s (+2.0%)2.006s (~)0.695s151.07x
💻 LocalNext.js (Turbopack)1.371s (-0.8%)2.007s (~)0.636s151.12x
💻 LocalNitro1.539s (-7.1% 🟢)2.006s (~)0.468s151.26x
💻 LocalExpress1.606s (+6.3% 🔺)2.006s (~)0.400s151.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.371s (-19.5% 🟢)4.382s (-9.9% 🟢)2.011s81.00x
▲ VercelExpress2.486s (+2.7%)4.104s (-1.2%)1.618s81.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.346s (-4.7%)2.222s (-4.1%)0.876s141.00x
🐘 PostgresNitro1.378s (+1.9%)2.317s (-10.6% 🟢)0.939s131.02x
🐘 PostgresNext.js (Turbopack)1.505s (-7.1% 🟢)2.316s (+0.9%)0.811s131.12x
💻 LocalExpress1.962s (+12.4% 🔺)2.365s (+10.0% 🔺)0.403s141.46x
💻 LocalNitro1.975s (-7.4% 🟢)2.392s (-7.7% 🟢)0.417s131.47x
💻 LocalNext.js (Turbopack)2.057s (-0.7%)2.736s (-3.2%)0.679s111.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.089s (+2.4%)5.257s (+18.0% 🔺)2.168s61.00x
▲ VercelNitro3.473s (+32.2% 🔺)5.397s (+33.2% 🔺)1.924s61.12x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.615s (+2.9%)4.011s (~)2.395s81.00x
🐘 PostgresNitro1.708s (+6.0% 🔺)3.889s (+3.4%)2.181s81.06x
🐘 PostgresNext.js (Turbopack)3.425s (+25.3% 🔺)4.442s (+28.5% 🔺)1.017s72.12x
💻 LocalNitro5.093s (-13.0% 🟢)5.513s (-14.0% 🟢)0.420s63.15x
💻 LocalExpress5.252s (+12.1% 🔺)6.016s (+16.2% 🔺)0.764s53.25x
💻 LocalNext.js (Turbopack)6.306s (+28.3% 🔺)6.815s (+31.5% 🔺)0.509s53.90x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.365s (+26.3% 🔺)7.185s (+40.6% 🔺)2.820s51.00x
▲ VercelNitro4.395s (-1.7%)6.353s (+5.4% 🔺)1.958s51.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.576s (+2.3%)1.006s (~)0.430s601.00x
💻 LocalNitro0.593s (-5.5% 🟢)1.005s (~)0.411s601.03x
💻 LocalExpress0.607s (-2.9%)1.005s (-1.6%)0.398s601.05x
🐘 PostgresNitro0.614s (+6.7% 🔺)1.023s (~)0.409s591.07x
🐘 PostgresNext.js (Turbopack)0.838s (-1.2%)1.058s (~)0.220s571.46x
💻 LocalNext.js (Turbopack)0.876s (~)1.021s (-1.7%)0.145s591.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.069s (+18.5% 🔺)7.954s (+16.5% 🔺)1.886s81.00x
▲ VercelExpress6.754s (+22.4% 🔺)8.859s (+22.1% 🔺)2.105s71.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.387s (+2.4%)2.007s (~)0.620s451.00x
🐘 PostgresExpress1.393s (+2.8%)2.007s (-1.1%)0.614s451.00x
💻 LocalNitro1.490s (-4.4%)2.006s (~)0.516s451.07x
💻 LocalExpress1.507s (+0.9%)2.006s (~)0.499s451.09x
🐘 PostgresNext.js (Turbopack)1.916s (-3.8%)2.075s (-13.6% 🟢)0.159s441.38x
💻 LocalNext.js (Turbopack)2.144s (-0.8%)3.007s (+1.1%)0.864s301.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.555s (+6.9% 🔺)17.652s (+7.4% 🔺)2.098s61.00x
▲ VercelExpress16.081s (+5.1% 🔺)18.087s (+4.7%)2.007s51.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.785s (+2.3%)3.193s (+2.6%)0.408s381.00x
🐘 PostgresNitro2.798s (+3.7%)3.112s (+0.8%)0.313s391.00x
💻 LocalExpress3.256s (+2.1%)3.977s (~)0.721s311.17x
💻 LocalNitro3.295s (-2.4%)4.010s (~)0.714s301.18x
🐘 PostgresNext.js (Turbopack)3.844s (~)4.076s (+0.8%)0.232s301.38x
💻 LocalNext.js (Turbopack)4.466s (+3.6%)5.010s (~)0.544s241.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro35.647s (+32.0% 🔺)38.363s (+32.6% 🔺)2.716s41.00x
▲ VercelExpress37.859s (+42.3% 🔺)40.229s (+41.0% 🔺)2.370s31.06x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.249s (+3.0%)1.006s (~)0.757s601.00x
🐘 PostgresExpress0.252s (+3.4%)1.006s (~)0.754s601.01x
🐘 PostgresNext.js (Turbopack)0.298s (+1.0%)1.006s (~)0.708s601.19x
💻 LocalExpress0.402s (+1.3%)1.004s (~)0.602s601.61x
💻 LocalNitro0.410s (-1.3%)1.004s (~)0.594s601.65x
💻 LocalNext.js (Turbopack)0.551s (-6.9% 🟢)1.005s (-3.3%)0.454s602.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.872s (~)4.163s (+14.3% 🔺)2.291s151.00x
▲ VercelExpress2.071s (+1.1%)4.474s (+17.4% 🔺)2.403s141.11x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.412s (+3.4%)1.017s (~)0.605s891.00x
🐘 PostgresNitro0.415s (+2.8%)1.078s (+6.0% 🔺)0.663s841.01x
🐘 PostgresNext.js (Turbopack)0.651s (-2.1%)1.350s (+7.7% 🔺)0.700s671.58x
💻 LocalNitro2.102s (-4.1%)2.657s (-6.9% 🟢)0.555s345.10x
💻 LocalExpress2.212s (+7.9% 🔺)2.853s (+9.3% 🔺)0.640s325.37x
💻 LocalNext.js (Turbopack)2.579s (+11.5% 🔺)3.381s (+7.4% 🔺)0.802s276.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.938s (+12.9% 🔺)5.084s (+23.2% 🔺)2.146s181.00x
▲ VercelNitro3.154s (+10.5% 🔺)5.129s (+2.9%)1.975s181.07x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.825s (+5.1% 🔺)1.341s (-4.9%)0.516s901.00x
🐘 PostgresExpress0.830s (+9.4% 🔺)1.419s (+1.2%)0.589s851.01x
🐘 PostgresNext.js (Turbopack)2.808s (-9.9% 🟢)3.712s (-7.5% 🟢)0.904s333.40x
💻 LocalNitro9.572s (-3.5%)9.955s (-4.7%)0.383s1311.61x
💻 LocalExpress9.893s (+11.3% 🔺)10.361s (+9.2% 🔺)0.468s1211.99x
💻 LocalNext.js (Turbopack)10.816s (+3.0%)11.665s (+2.4%)0.850s1113.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.099s (-35.1% 🟢)7.408s (-22.0% 🟢)2.310s171.00x
▲ VercelNitro5.318s (-13.5% 🟢)7.588s (-3.8%)2.270s161.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.157s (-1.4%)2.004s (~)0.010s (-19.2% 🟢)2.017s (~)0.860s101.00x
💻 LocalExpress1.165s (+1.1%)2.005s (~)0.010s (+5.1% 🔺)2.018s (~)0.853s101.01x
🐘 PostgresNitro1.170s (~)2.000s (~)0.001s (+20.0% 🔺)2.011s (~)0.841s101.01x
🐘 PostgresExpress1.185s (+2.1%)1.998s (~)0.001s (+44.4% 🔺)2.010s (~)0.825s101.02x
💻 LocalNext.js (Turbopack)1.210s (-0.6%)2.003s (~)0.012s (+17.1% 🔺)2.019s (~)0.809s101.05x
🐘 PostgresNext.js (Turbopack)1.230s (~)2.001s (~)0.001s (~)2.010s (~)0.781s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.499s (+10.7% 🔺)3.813s (+9.6% 🔺)0.653s (-36.9% 🟢)4.929s (~)2.431s101.00x
▲ VercelNitro2.555s (+6.3% 🔺)3.708s (+5.5% 🔺)0.906s (-32.5% 🟢)5.062s (-4.7%)2.507s101.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.570s (-1.8%)2.009s (~)0.014s (+16.7% 🔺)2.025s (~)0.455s301.00x
💻 LocalExpress1.580s (~)2.011s (~)0.013s (+8.2% 🔺)2.026s (~)0.446s301.01x
🐘 PostgresExpress1.603s (+2.2%)2.007s (~)0.005s (-1.3%)2.027s (~)0.424s301.02x
🐘 PostgresNitro1.604s (+1.4%)2.004s (~)0.005s (-6.3% 🟢)2.026s (~)0.423s301.02x
💻 LocalNext.js (Turbopack)1.739s (+0.8%)2.009s (~)0.014s (+22.8% 🔺)2.025s (~)0.286s301.11x
🐘 PostgresNext.js (Turbopack)1.767s (-1.1%)2.010s (~)0.005s (-10.2% 🟢)2.025s (~)0.257s301.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.391s (+6.2% 🔺)8.361s (+14.4% 🔺)0.181s (-32.0% 🟢)9.122s (+11.7% 🔺)2.731s81.00x
▲ VercelExpress7.011s (+10.7% 🔺)8.660s (+15.9% 🔺)0.287s (-46.3% 🟢)9.602s (+13.0% 🔺)2.591s71.10x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.813s (+6.1% 🔺)1.051s (~)0.000s (+100.0% 🔺)1.091s (+3.0%)0.278s571.00x
🐘 PostgresNitro0.818s (+9.8% 🔺)1.062s (+1.6%)0.000s (-100.0% 🟢)1.078s (+0.9%)0.261s571.01x
🐘 PostgresNext.js (Turbopack)1.027s (-1.9%)1.500s (-1.6%)0.000s (NaN%)1.507s (-1.7%)0.481s401.26x
💻 LocalNitro1.401s (-1.4%)2.015s (~)0.000s (-42.9% 🟢)2.017s (~)0.616s301.72x
💻 LocalExpress1.423s (+2.8%)2.014s (~)0.000s (+71.4% 🔺)2.016s (~)0.593s301.75x
💻 LocalNext.js (Turbopack)1.483s (+2.6%)2.013s (~)0.000s (-16.7% 🟢)2.016s (~)0.533s301.82x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.703s (-11.7% 🟢)4.223s (+0.8%)0.000s (+Infinity% 🔺)5.150s (+11.3% 🔺)2.447s121.00x
▲ VercelNitro3.066s (-7.2% 🟢)4.700s (-3.4%)0.000s (+100.0% 🔺)5.228s (-2.8%)2.162s121.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.573s (-4.6%)2.136s (~)0.000s (NaN%)2.156s (-1.7%)0.582s281.00x
🐘 PostgresNitro1.621s (-6.1% 🟢)2.144s (-5.0%)0.000s (+Infinity% 🔺)2.170s (-4.3%)0.550s281.03x
🐘 PostgresNext.js (Turbopack)2.147s (-1.5%)2.654s (+1.6%)0.000s (~)2.662s (+1.3%)0.515s231.36x
💻 LocalNext.js (Turbopack)2.992s (+2.3%)3.613s (+1.6%)0.001s (~)3.616s (+1.6%)0.625s171.90x
💻 LocalNitro3.124s (-1.2%)3.901s (+1.6%)0.000s (-63.6% 🟢)3.905s (+1.6%)0.781s161.99x
💻 LocalExpress3.226s (+6.0% 🔺)3.902s (+4.7%)0.001s (~)3.905s (+4.6%)0.680s162.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.150s (-24.5% 🟢)5.865s (-17.3% 🟢)0.000s (-100.0% 🟢)6.953s (-8.2% 🟢)2.803s91.00x
▲ VercelExpress4.380s (-32.4% 🟢)6.111s (-20.2% 🟢)0.000s (-100.0% 🟢)6.731s (-18.0% 🟢)2.351s91.06x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro11/21
🐘 PostgresExpress14/21
▲ VercelNitro12/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres14/21
Nitro🐘 Postgres13/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review June 14, 2026 11:30
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerJune 14, 2026 11:30
@VaguelySerious
VaguelySerious merged commit b3cc513 into mainJun 15, 2026
193 of 196 checks passed
@VaguelySerious
VaguelySerious deleted the peter/dev-test-cleanup-hook-timeout branch June 15, 2026 09:13
github-actionsBot added a commit that referenced this pull request Jun 15, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2420. (backport job run)

pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
docs: document run idempotency (#2011)
Render attr_set events and run attributes in observability UI (#2393)
[ci] Fix backport job model slug (#2403)
[ci] Comment on PR when backport fails, revert to use opus 4.8 (#2400)
Update queue client to 0.3.1 (#2399)
fix(deps): upgrade esbuild to 0.28.1 (GHSA-gv7w-rqvm-qjhr) (#2395)
test: e2e coverage for run-idempotency conflict-handling strategies (#2387)
# Conflicts:
#	pnpm-lock.yaml
pranaygp added a commit that referenced this pull request Jun 16, 2026
* origin/main:
fix(core): make deploymentId 'latest' a no-op in non-Vercel worlds (#2397)
fix(deps): upgrade astro to 6.4.6 to resolve CVE-2026-54299 (#2457)
Small detail panel cleanup (#2459)
Fix lazy Next workflow HMR (#2438)
Prevent peer dependency-only major bumps (#2437)
fix(changesets): only major-bump peer dependents when out of range (#2439)
Version Packages (beta) (#2428)
otel: explicit traceparent injection + linked-trace mode for bounded per-invocation traces (#2363)
[next] Clarify `serverExternalPackages` warning (#2417)
Add .swc gitignore handling to builder (#2427)
Version Packages (beta) (#2390)
[ci] Increase dev.test.ts cleanup hook timeout (#2416)
[world-vercel] Switch event endpoints to v4 wire format (#2055)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@VaguelySerious