Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@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

Default source maps to dev-on / prod-off - #2529

Merged
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default
Jun 18, 2026
Merged

Default source maps to dev-on / prod-off#2529
pranaygp merged 2 commits into
mainfrom
pgp/sourcemaps-off-default

Conversation

@pranaygp

@pranaygppranaygp commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Inline source maps are base64-embedded into the step bundle and the intermediate workflow VM bundle. Today both default to 'inline' unconditionally, which bloats production function bundles — a real problem for the Vercel 250MB function limit — even though source maps only pay off when a human is reading a stack trace (i.e. during development).

This makes the default environment-aware:

  • Development (next dev, nitro dev, Vite-based dev servers) → inline source maps on, so step/workflow-VM stack traces point at your source files.
  • Production builds → source maps off, for smaller bundles. A production build with no override also drops the source-map-support runtime shim from the Vercel step function (shouldAddSourcemapSupport: false).

Dev is detected via config.watch === true || process.env.NODE_ENV === 'development', which covers next/nitro/nest (watch) and astro/sveltekit/vite (NODE_ENV), and errs toward off when ambiguous (CLI / Vercel production builds).

The sourcemap config option and the WORKFLOW_SOURCEMAP env var still override the default in either environment. Precedence is unchanged: explicit config > WORKFLOW_SOURCEMAP > environment-aware default.

Runtime

remapErrorStack already no-ops when a bundle has no inline map, but it scanned the whole (~MB) bundle on every workflow failure. Now it:

  • short-circuits when no stack frame references the workflow file, and
  • memoizes the parsed TraceMap (or its absence) per bundle in a small LRU,

so production failures (maps off) scan at most once, then are O(1). Public behavior of remapErrorStack is unchanged.

Changes

  • @workflow/builders (minor): isDevelopmentBuild / defaultSourcemapMode; step + intermediate-workflow bundles use the env-aware default; sourcemapsEnabled uses it too.
  • @workflow/core (patch): faster, still-graceful remapErrorStack.
  • Unit tests updated (resolve-sourcemap.test.ts, source-map.test.ts).
  • Docs updated for v4 + v5 (next "Source maps" section + per-framework option tables).

Verification

Built workbench/example via the vercel-build-output-api target:

ScenarioReal inline maps in bundlesshouldAddSourcemapSupport
Production default0false
Production + WORKFLOW_SOURCEMAP=inlinepresenttrue
NODE_ENV=developmentpresenttrue

Unit suites pass: @workflow/builders (179) and @workflow/core (1254).

🤖 Generated with Claude Code

Docs Preview

Changed docs pages on the workflow-docs preview (behind Vercel deployment protection — team access required):

Pagev4v5
withWorkflow — Source mapsv4v5
Getting started: Astrov4v5
Getting started: NestJSv4v5
Getting started: Nitrov4v5
Getting started: SvelteKitv4v5
API: workflow-astrov5
API: workflow-nest / workflow-modulev5
API: workflow-nest / nest-local-builderv5
API: workflow-nitrov5
API: workflow-sveltekit / workflow-pluginv5
API: workflow-vitev5

Inline source maps are embedded in the step bundle and the intermediate
workflow VM bundle, which bloats production function bundles (a problem for
the Vercel 250MB limit) even though maps only help when reading a stack trace.
Make the default environment-aware in @workflow/builders: inline in
development (next dev / nitro dev / Vite-based dev servers, detected via
config.watch or NODE_ENV=development) and off in production. The `sourcemap`
config option and `WORKFLOW_SOURCEMAP` env var still override in either
environment. A production build with no override also drops the
source-map-support shim from the Vercel step function.
Keep runtime stack remapping graceful and fast when maps are absent
(@workflow/core): short-circuit when no frame references the workflow file
and memoize the parsed map (or its absence) per bundle, so production failures
don't rescan the bundle.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pranaygp
pranaygp requested a review from a team as a code ownerJune 18, 2026 22:03
CopilotAI review requested due to automatic review settings June 18, 2026 22:03
@changeset-bot

changeset-botBot commented Jun 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b2c23f5

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

This PR includes changesets to release 16 packages
NameType
@workflow/buildersMinor
@workflow/corePatch
@workflow/astroPatch
@workflow/cliPatch
@workflow/nestPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
workflowPatch
@workflow/world-testingPatch
@workflow/nuxtPatch

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercelBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 18, 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🥇 Nitro0.039s (-4.9%)1.006s (~)0.967s101.00x
💻 LocalExpress0.040s (-7.1% 🟢)1.005s (~)0.965s101.04x
💻 LocalNext.js (Turbopack)0.046s (-29.9% 🟢)1.006s (~)0.960s101.20x
🐘 PostgresNitro0.055s (-11.8% 🟢)1.011s (~)0.956s101.44x
🐘 PostgresNext.js (Turbopack)0.058s (-17.8% 🟢)1.015s (~)0.957s101.50x
🐘 PostgresExpress0.064s (-12.1% 🟢)1.013s (~)0.949s101.65x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.317s (+8.8% 🔺)2.485s (+31.4% 🔺)2.168s101.00x
▲ VercelNitro0.325s (-13.3% 🟢)2.037s (-9.3% 🟢)1.712s101.03x
▲ VercelExpress0.340s (-9.8% 🟢)2.317s (+1.0%)1.976s101.07x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.085s (-5.5% 🟢)2.006s (~)0.921s101.00x
💻 LocalNitro1.085s (~)2.006s (~)0.921s101.00x
💻 LocalExpress1.085s (-1.5%)2.006s (~)0.921s101.00x
🐘 PostgresNitro1.100s (-1.8%)2.010s (~)0.910s101.01x
🐘 PostgresExpress1.106s (~)2.009s (~)0.903s101.02x
🐘 PostgresNext.js (Turbopack)1.111s (-2.7%)2.009s (~)0.899s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.754s (-9.4% 🟢)3.330s (-9.4% 🟢)1.576s101.00x
▲ VercelNext.js (Turbopack)1.767s (~)3.841s (+3.5%)2.074s101.01x
▲ VercelNitro1.792s (-22.7% 🟢)3.454s (-13.5% 🟢)1.662s101.02x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.483s (-3.0%)11.022s (~)0.539s31.00x
🐘 PostgresNitro10.483s (-0.5%)11.015s (~)0.532s31.00x
💻 LocalExpress10.495s (-0.5%)11.023s (~)0.527s31.00x
💻 LocalNitro10.498s (~)11.023s (~)0.525s31.00x
🐘 PostgresNext.js (Turbopack)10.526s (-3.1%)11.022s (~)0.496s31.00x
🐘 PostgresExpress10.536s (~)11.018s (~)0.482s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro14.206s (-25.1% 🟢)16.083s (-24.5% 🟢)1.878s21.00x
▲ VercelExpress14.414s (-20.2% 🟢)15.956s (-20.1% 🟢)1.542s21.01x
▲ VercelNext.js (Turbopack)17.445s (+21.9% 🔺)19.965s (+22.5% 🔺)2.519s21.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.722s (-0.9%)14.019s (~)0.297s51.00x
💻 LocalNext.js (Turbopack)13.734s (-4.4%)14.026s (-6.7% 🟢)0.292s51.00x
💻 LocalExpress13.755s (~)14.028s (~)0.273s51.00x
🐘 PostgresNitro13.805s (~)14.020s (~)0.215s51.01x
💻 LocalNitro13.831s (+1.5%)14.229s (+1.3%)0.398s51.01x
🐘 PostgresNext.js (Turbopack)13.844s (-4.1%)14.022s (-6.6% 🟢)0.178s51.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.164s (-32.1% 🟢)22.770s (-30.1% 🟢)1.606s31.00x
▲ VercelExpress21.625s (-10.7% 🟢)22.943s (-12.4% 🟢)1.319s31.02x
▲ VercelNext.js (Turbopack)22.213s (-37.3% 🟢)24.195s (-34.3% 🟢)1.983s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro12.301s (-1.7%)13.016s (~)0.715s71.00x
💻 LocalNitro12.356s (+2.4%)13.025s (+1.0%)0.669s71.00x
💻 LocalExpress12.375s (-1.4%)13.024s (~)0.650s71.01x
🐘 PostgresNext.js (Turbopack)12.437s (-10.3% 🟢)13.015s (-8.1% 🟢)0.577s71.01x
💻 LocalNext.js (Turbopack)12.565s (-8.0% 🟢)13.027s (-7.1% 🟢)0.461s71.02x
🐘 PostgresExpress12.838s (+3.2%)13.446s (+3.3%)0.608s71.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.071s (-25.3% 🟢)30.361s (-25.8% 🟢)1.291s31.00x
▲ VercelExpress29.705s (-15.3% 🟢)31.775s (-13.9% 🟢)2.070s31.02x
▲ VercelNext.js (Turbopack)30.545s (-13.2% 🟢)32.663s (-11.5% 🟢)2.118s31.05x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.177s (-8.5% 🟢)2.008s (~)0.831s151.00x
🐘 PostgresNitro1.191s (-0.7%)2.007s (~)0.817s151.01x
🐘 PostgresExpress1.202s (-0.9%)2.007s (~)0.804s151.02x
💻 LocalExpress1.246s (+6.9% 🔺)2.006s (~)0.761s151.06x
💻 LocalNitro1.260s (+7.7% 🔺)2.007s (~)0.747s151.07x
💻 LocalNext.js (Turbopack)1.306s (+0.7%)2.006s (~)0.701s151.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.608s (-10.4% 🟢)3.812s (-13.6% 🟢)1.204s91.00x
▲ VercelExpress2.924s (+31.8% 🔺)4.339s (+11.7% 🔺)1.415s71.12x
▲ VercelNext.js (Turbopack)3.085s (+15.6% 🔺)4.728s (+15.4% 🔺)1.644s71.18x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.290s (-21.2% 🟢)2.392s (~)1.102s131.00x
🐘 PostgresNitro1.296s (-5.0% 🟢)2.007s (-20.0% 🟢)0.711s151.00x
🐘 PostgresExpress1.315s (-7.7% 🟢)2.008s (-16.1% 🟢)0.693s151.02x
💻 LocalNext.js (Turbopack)2.102s (+10.1% 🔺)2.590s (+13.0% 🔺)0.488s121.63x
💻 LocalExpress2.119s (+30.3% 🔺)2.469s (+23.1% 🔺)0.350s131.64x
💻 LocalNitro2.327s (+50.0% 🔺)2.591s (+28.9% 🔺)0.264s121.80x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.386s (-14.5% 🟢)4.733s (-16.6% 🟢)1.347s71.00x
▲ VercelNext.js (Turbopack)3.409s (-24.1% 🟢)5.402s (-16.6% 🟢)1.993s61.01x
▲ VercelNitro3.588s (-11.4% 🟢)4.956s (-13.1% 🟢)1.368s71.06x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.468s (-53.5% 🟢)4.012s (-6.8% 🟢)2.543s81.00x
🐘 PostgresNitro1.524s (-4.5%)3.884s (-3.2%)2.360s81.04x
🐘 PostgresExpress1.552s (-11.9% 🟢)3.309s (-14.8% 🟢)1.757s101.06x
💻 LocalNitro4.735s (+38.3% 🔺)5.180s (+29.2% 🔺)0.445s63.22x
💻 LocalExpress4.960s (+13.5% 🔺)5.511s (+13.2% 🔺)0.552s63.38x
💻 LocalNext.js (Turbopack)5.341s (-7.5% 🟢)6.015s (-3.2%)0.674s53.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.435s (-27.6% 🟢)6.307s (-24.3% 🟢)1.871s51.00x
▲ VercelExpress4.806s (-12.7% 🟢)6.215s (-21.6% 🟢)1.409s51.08x
▲ VercelNext.js (Turbopack)5.176s (-8.0% 🟢)6.948s (-10.0% 🟢)1.772s51.17x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.179s (-8.0% 🟢)2.007s (~)0.829s151.00x
🐘 PostgresExpress1.194s (-1.9%)2.007s (~)0.813s151.01x
🐘 PostgresNitro1.200s (-1.0%)2.008s (~)0.808s151.02x
💻 LocalNitro1.227s (+2.2%)2.006s (~)0.779s151.04x
💻 LocalExpress1.231s (-21.9% 🟢)2.006s (~)0.775s151.04x
💻 LocalNext.js (Turbopack)1.340s (-4.2%)2.007s (~)0.667s151.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.777s (-25.4% 🟢)4.429s (-15.3% 🟢)1.653s71.00x
▲ VercelNitro2.937s (-17.6% 🟢)4.402s (-16.8% 🟢)1.465s71.06x
▲ VercelExpress3.077s (+32.4% 🔺)4.560s (+19.8% 🔺)1.483s71.11x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.258s (-18.5% 🟢)2.152s (-3.2%)0.894s141.00x
🐘 PostgresNitro1.293s (-10.4% 🟢)2.007s (-16.2% 🟢)0.714s151.03x
🐘 PostgresExpress1.316s (-3.7%)2.007s (-13.3% 🟢)0.691s151.05x
💻 LocalExpress1.959s (+3.2%)2.469s (+14.9% 🔺)0.510s131.56x
💻 LocalNitro1.990s (+17.5% 🔺)2.317s (+15.3% 🔺)0.327s131.58x
💻 LocalNext.js (Turbopack)2.416s (+11.4% 🔺)3.108s (+3.3%)0.693s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.991s (+9.7% 🔺)4.338s (-5.1% 🟢)1.347s71.00x
▲ VercelNitro3.069s (+9.6% 🔺)4.510s (+7.8% 🔺)1.440s71.03x
▲ VercelNext.js (Turbopack)3.769s (-15.6% 🟢)6.038s (-1.9%)2.269s61.26x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.407s (-22.0% 🟢)3.759s (-12.5% 🟢)2.352s81.00x
🐘 PostgresExpress1.441s (-19.9% 🟢)3.885s (-3.1%)2.444s81.02x
🐘 PostgresNext.js (Turbopack)1.491s (-63.3% 🟢)3.885s (-12.6% 🟢)2.395s81.06x
💻 LocalNitro5.242s (+16.7% 🔺)5.684s (+13.4% 🔺)0.442s63.72x
💻 LocalExpress5.682s (+23.8% 🔺)6.016s (+20.0% 🔺)0.333s54.04x
💻 LocalNext.js (Turbopack)6.200s (+6.8% 🔺)6.817s (+6.3% 🔺)0.617s54.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.889s (+29.3% 🔺)6.608s (+26.3% 🔺)1.719s51.00x
▲ VercelExpress5.355s (-36.5% 🟢)7.007s (-31.6% 🟢)1.652s51.10x
▲ VercelNitro6.189s (-55.3% 🟢)8.029s (-48.7% 🟢)1.840s41.27x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.509s (-14.2% 🟢)1.023s (-1.7%)0.514s591.00x
💻 LocalNitro0.557s (+11.3% 🔺)1.005s (~)0.448s601.09x
💻 LocalExpress0.561s (-10.2% 🟢)1.005s (-1.7%)0.443s601.10x
🐘 PostgresExpress0.562s (-1.6%)1.023s (+1.8%)0.461s591.10x
🐘 PostgresNext.js (Turbopack)0.570s (-31.8% 🟢)1.023s (~)0.453s591.12x
💻 LocalNext.js (Turbopack)0.593s (-33.2% 🟢)1.022s (-1.7%)0.429s591.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express4.050s (-10.9% 🟢)5.543s (-14.4% 🟢)1.493s121.00x
▲ VercelNitro4.264s (-35.5% 🟢)5.598s (-32.9% 🟢)1.334s111.05x
▲ VercelNext.js (Turbopack)4.368s (-30.8% 🟢)6.254s (-23.2% 🟢)1.886s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.222s (-12.0% 🟢)2.007s (-1.1%)0.784s451.00x
🐘 PostgresNext.js (Turbopack)1.286s (-33.7% 🟢)2.007s (-3.3%)0.721s451.05x
🐘 PostgresExpress1.297s (-4.4%)2.029s (~)0.732s451.06x
💻 LocalNext.js (Turbopack)1.422s (-32.3% 🟢)2.006s (-33.3% 🟢)0.584s451.16x
💻 LocalNitro1.481s (+24.7% 🔺)2.006s (~)0.525s451.21x
💻 LocalExpress1.512s (+1.6%)2.029s (+1.1%)0.516s451.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express9.780s (-44.1% 🟢)11.379s (-40.6% 🟢)1.599s81.00x
▲ VercelNitro10.475s (-11.3% 🟢)12.158s (-14.2% 🟢)1.683s81.07x
▲ VercelNext.js (Turbopack)11.737s (-13.7% 🟢)13.736s (-10.4% 🟢)1.999s81.20x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.514s (-10.2% 🟢)3.058s (-3.4%)0.544s401.00x
🐘 PostgresNext.js (Turbopack)2.557s (-33.9% 🟢)3.033s (-25.6% 🟢)0.477s401.02x
🐘 PostgresExpress2.572s (-5.1% 🟢)3.058s (-1.7%)0.486s401.02x
💻 LocalExpress3.113s (-2.7%)3.880s (-3.2%)0.767s311.24x
💻 LocalNext.js (Turbopack)3.143s (-27.6% 🟢)3.853s (-23.1% 🟢)0.709s321.25x
💻 LocalNitro3.201s (+17.2% 🔺)3.821s (+18.6% 🔺)0.620s321.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express19.230s (-26.2% 🟢)20.773s (-25.9% 🟢)1.543s61.00x
▲ VercelNitro21.880s (-16.8% 🟢)23.242s (-17.3% 🟢)1.362s61.14x
▲ VercelNext.js (Turbopack)23.421s (-6.3% 🟢)25.590s (-4.4%)2.169s51.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.199s (-32.2% 🟢)1.007s (~)0.808s601.00x
🐘 PostgresNitro0.216s (-8.4% 🟢)1.006s (~)0.790s601.08x
🐘 PostgresExpress0.225s (-2.9%)1.006s (~)0.781s601.13x
💻 LocalExpress0.417s (-5.2% 🟢)1.005s (~)0.587s602.09x
💻 LocalNitro0.447s (+19.9% 🔺)1.005s (~)0.558s602.24x
💻 LocalNext.js (Turbopack)0.755s (+29.7% 🔺)1.057s (+5.2% 🔺)0.302s573.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.722s (+11.1% 🔺)3.256s (+13.5% 🔺)1.534s191.00x
▲ VercelNext.js (Turbopack)1.824s (-2.5%)3.635s (-6.5% 🟢)1.810s171.06x
▲ VercelNitro1.844s (+42.9% 🔺)3.368s (+17.2% 🔺)1.524s181.07x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.278s (-48.5% 🟢)1.053s (-5.8% 🟢)0.775s861.00x
🐘 PostgresNitro0.316s (-7.5% 🟢)1.006s (-1.1%)0.689s901.14x
🐘 PostgresExpress0.337s (-5.1% 🟢)1.006s (-3.3%)0.669s901.21x
💻 LocalExpress2.120s (+1.5%)2.610s (-1.7%)0.490s357.63x
💻 LocalNitro2.126s (+39.5% 🔺)2.686s (+24.8% 🔺)0.560s347.66x
💻 LocalNext.js (Turbopack)2.552s (+9.5% 🔺)3.223s (+4.8%)0.672s289.19x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.148s (-26.6% 🟢)3.665s (-23.6% 🟢)1.516s251.00x
▲ VercelNitro2.435s (-11.3% 🟢)3.930s (-17.8% 🟢)1.496s231.13x
▲ VercelNext.js (Turbopack)3.432s (+12.8% 🔺)5.224s (+9.0% 🔺)1.793s181.60x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.482s (-81.6% 🟢)3.035s (-12.6% 🟢)2.553s401.00x
🐘 PostgresExpress0.543s (-4.5%)1.059s (-13.0% 🟢)0.516s1141.13x
🐘 PostgresNitro0.546s (-3.8%)1.128s (-8.4% 🟢)0.582s1071.13x
💻 LocalNitro9.687s (+53.5% 🔺)10.446s (+54.9% 🔺)0.759s1220.11x
💻 LocalExpress9.911s (+19.3% 🔺)10.529s (+18.6% 🔺)0.618s1220.58x
💻 LocalNext.js (Turbopack)10.572s (-1.7%)11.487s (-0.8%)0.916s1121.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.340s (-38.8% 🟢)4.974s (-29.8% 🟢)1.633s251.00x
▲ VercelNitro3.495s (-33.7% 🟢)4.913s (-30.0% 🟢)1.418s251.05x
▲ VercelNext.js (Turbopack)4.668s (-3.6%)6.640s (+1.6%)1.972s191.40x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.147s (-5.2% 🟢)2.003s (~)0.011s (-16.0% 🟢)2.018s (~)0.871s101.00x
🐘 PostgresNext.js (Turbopack)1.157s (-6.0% 🟢)2.002s (~)0.001s (-7.7% 🟢)2.011s (~)0.854s101.01x
💻 LocalExpress1.157s (+0.6%)2.005s (~)0.010s (-2.0%)2.018s (~)0.860s101.01x
🐘 PostgresNitro1.159s (~)2.000s (~)0.001s (+20.0% 🔺)2.010s (~)0.851s101.01x
💻 LocalNitro1.160s (+3.8%)2.005s (~)0.011s (-61.5% 🟢)2.018s (-1.0%)0.859s101.01x
🐘 PostgresExpress1.169s (-0.8%)2.000s (~)0.001s (+18.2% 🔺)2.011s (~)0.841s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.617s (-0.8%)3.685s (-3.2%)3.576s (+350.8% 🔺)7.652s (+51.4% 🔺)5.035s101.00x
▲ VercelNext.js (Turbopack)2.655s (+5.3% 🔺)3.863s (+1.1%)3.063s (+279.4% 🔺)7.454s (+46.6% 🔺)4.798s101.01x
▲ VercelExpress2.818s (+17.3% 🔺)3.786s (+2.9%)3.322s (+348.4% 🔺)7.589s (+55.7% 🔺)4.771s101.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.540s (-2.4%)2.005s (~)0.005s (-1.9%)2.026s (~)0.486s301.00x
💻 LocalExpress1.548s (-1.2%)2.010s (~)0.013s (~)2.025s (~)0.477s301.01x
💻 LocalNitro1.553s (+8.0% 🔺)2.010s (~)0.013s (-29.2% 🟢)2.024s (~)0.471s301.01x
🐘 PostgresNext.js (Turbopack)1.586s (-11.2% 🟢)2.009s (~)0.005s (+5.8% 🔺)2.026s (~)0.440s301.03x
💻 LocalNext.js (Turbopack)1.606s (-8.2% 🟢)2.009s (~)0.012s (-2.7%)2.024s (~)0.418s301.04x
🐘 PostgresExpress1.630s (+2.9%)2.036s (+1.5%)0.005s (+12.1% 🔺)2.059s (+1.7%)0.429s301.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)6.802s (-19.9% 🟢)8.348s (-15.0% 🟢)0.240s (-8.9% 🟢)9.070s (-14.2% 🟢)2.268s71.00x
▲ VercelNitro7.146s (~)8.102s (-6.4% 🟢)0.397s (+67.4% 🔺)8.899s (-5.5% 🟢)1.753s71.05x
▲ VercelExpress7.188s (+12.6% 🔺)8.428s (+8.0% 🔺)0.462s (+158.0% 🔺)9.382s (+10.9% 🔺)2.194s71.06x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.717s (-7.2% 🟢)1.048s (~)0.000s (-3.5%)1.059s (-3.1%)0.342s571.00x
🐘 PostgresExpress0.763s (~)1.065s (+3.9%)0.000s (-74.6% 🟢)1.084s (+2.8%)0.321s561.06x
🐘 PostgresNext.js (Turbopack)0.833s (-18.3% 🟢)1.201s (-18.0% 🟢)0.000s (-59.0% 🟢)1.218s (-17.2% 🟢)0.386s501.16x
💻 LocalExpress1.467s (+7.7% 🔺)2.013s (~)0.000s (-33.3% 🟢)2.016s (~)0.549s302.05x
💻 LocalNitro1.523s (+41.6% 🔺)2.014s (+9.6% 🔺)0.000s (-60.7% 🟢)2.017s (+9.6% 🔺)0.494s302.12x
💻 LocalNext.js (Turbopack)1.631s (+7.8% 🔺)2.013s (~)0.000s (-11.1% 🟢)2.016s (~)0.385s302.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.899s (+28.6% 🔺)5.058s (+10.8% 🔺)0.000s (NaN%)5.489s (+8.9% 🔺)1.590s111.00x
▲ VercelNitro3.985s (+6.1% 🔺)4.898s (-9.0% 🟢)0.000s (-100.0% 🟢)5.316s (-9.3% 🟢)1.331s121.02x
▲ VercelNext.js (Turbopack)4.210s (+22.1% 🔺)5.662s (+18.7% 🔺)0.000s (-100.0% 🟢)6.229s (+18.4% 🔺)2.019s101.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.697s (+9.4% 🔺)2.303s (+8.0% 🔺)0.000s (+123.1% 🔺)2.316s (+7.9% 🔺)0.619s261.00x
🐘 PostgresExpress1.710s (+5.9% 🔺)2.300s (+11.5% 🔺)0.000s (NaN%)2.321s (+11.1% 🔺)0.611s261.01x
🐘 PostgresNext.js (Turbopack)2.239s (+6.1% 🔺)2.741s (+6.0% 🔺)0.000s (+108.7% 🔺)2.748s (+5.9% 🔺)0.509s231.32x
💻 LocalExpress3.670s (+25.2% 🔺)4.229s (+15.2% 🔺)0.000s (+36.0% 🔺)4.234s (+15.3% 🔺)0.564s152.16x
💻 LocalNitro4.133s (+87.3% 🔺)4.666s (+70.1% 🔺)0.001s (-32.7% 🟢)4.686s (+70.2% 🔺)0.553s142.44x
💻 LocalNext.js (Turbopack)4.741s (+63.5% 🔺)5.486s (+63.4% 🔺)0.000s (-63.6% 🟢)5.490s (+63.2% 🔺)0.749s112.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.434s (-4.5%)6.571s (-9.1% 🟢)0.000s (NaN%)6.949s (-9.6% 🟢)1.515s91.00x
▲ VercelNitro5.793s (+10.4% 🔺)6.792s (+5.2% 🔺)0.000s (NaN%)7.233s (+4.5%)1.440s91.07x
▲ VercelNext.js (Turbopack)6.116s (-15.6% 🟢)7.660s (-8.8% 🟢)0.000s (-100.0% 🟢)8.141s (-8.0% 🟢)2.025s81.13x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress8/21
🐘 PostgresNitro11/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development190902192128
✅ 📦 Local Production190902192128
✅ 🐘 Local Postgres189502332128
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total8192010809272

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable-lazy-discovery-disabled15200
✅ nextjs-turbopack-stable-lazy-discovery-enabled15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable-lazy-discovery-disabled15200
✅ nextjs-webpack-stable-lazy-discovery-enabled15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable-lazy-discovery-disabled15101
✅ nextjs-turbopack-stable-lazy-discovery-enabled15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable-lazy-discovery-disabled15101
✅ nextjs-webpack-stable-lazy-discovery-enabled15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

The e2e error-stack tests gate source-map assertions on hasWorkflowSourceMaps()
and hasStepSourceMaps(). Now that source maps default to off in production
builds, update those helpers:
- hasWorkflowSourceMaps(): false for all production builds (local prod,
postgres, Vercel — keyed off DEV_TEST_CONFIG), and exclude nest in dev (the
Nest integration builds with watch:false / no NODE_ENV=development, so its
bundles have no maps).
- hasStepSourceMaps(): nest now resolves to a production build (maps off) in
both dev and prod.
Add unit cases for the dev-vs-prod and nest behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 37312ed (AI decision).

The core change (env-aware dev-on/prod-off source map default) builds on the resolveSourcemap/SourcemapMode/sourcemapsEnabled infrastructure, the sourcemap config option, and the WORKFLOW_SOURCEMAP env var — none of which exist on stable, where the step/workflow bundles simply hardcode sourcemap: 'inline'. The accompanying docs and e2e helper changes describe the new (dev)/(prod) behavior and would be incorrect on stable, and the only self-contained piece (the @workflow/coreremapErrorStack optimization) exists primarily to make the production maps-off path fast, a scenario that doesn't arise on stable.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

37312edd0a9ae973113c9ef8d5fe6a25b603063a

pranaygp added a commit that referenced this pull request Jun 22, 2026
…testing
* origin/main:
Version Packages (beta) (#2540)
perf(core): memoize step return value hydration across inline replays (#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (#2412)
Amend lazy discovery removal changeset (#2560)
[docs] Document minimum SDK version for using hook.getConflict (#2423)
Update default CODEOWNERS (#2556)
Optimize and fix the default eager build mode (#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (#2547)" (#2554)
[core] Turbo mode: fast-path the first invocation (#2526)
Remove lazy discovery from workflow/next (#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (#2547)
feat(docs): add eve and AI SDK to product switcher (#2543)
[vitest] Fix local imports failing to load in test step bundles (#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (#2324)
Version Packages (beta) (#2495)
otel(world-vercel): inject trace context on v4 event requests (#2533)
Bump undici to 7.28.0 (#2534)
Default source maps to dev-on / prod-off (#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (#2527)
perf(core): parallel inline steps + optimistic lazy step start (#2516)
pranaygp added a commit to marcopiraccini/workflow that referenced this pull request Jun 22, 2026
* origin/main: (120 commits)
Version Packages (beta) (vercel#2540)
perf(core): memoize step return value hydration across inline replays (vercel#2472)
[core] Fix abort signal not reflected in subsequent step (replay-ordering flake) (vercel#2412)
Amend lazy discovery removal changeset (vercel#2560)
[docs] Document minimum SDK version for using hook.getConflict (vercel#2423)
Update default CODEOWNERS (vercel#2556)
Optimize and fix the default eager build mode (vercel#2546)
Revert "fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)" (vercel#2554)
[core] Turbo mode: fast-path the first invocation (vercel#2526)
Remove lazy discovery from workflow/next (vercel#2545)
fix(world-vercel): cancel v4 event frame stream on early exit (vercel#2547)
feat(docs): add eve and AI SDK to product switcher (vercel#2543)
[vitest] Fix local imports failing to load in test step bundles (vercel#2351)
[builders] Fix unicode-escape crash in workflow graph extraction (vercel#2324)
Version Packages (beta) (vercel#2495)
otel(world-vercel): inject trace context on v4 event requests (vercel#2533)
Bump undici to 7.28.0 (vercel#2534)
Default source maps to dev-on / prod-off (vercel#2529)
otel: nest linked-mode invocations under the delivery context (route + execution in one trace) (vercel#2527)
perf(core): parallel inline steps + optimistic lazy step start (vercel#2516)
...
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.

3 participants

@pranaygp@VaguelySerious