Skip to content

docs: add AI generation pipelines guide#1108

Open
johnlindquist wants to merge 3 commits intomainfrom
docs/ai-generation
Open

docs: add AI generation pipelines guide#1108
johnlindquist wants to merge 3 commits intomainfrom
docs/ai-generation

Conversation

@johnlindquist
Copy link
Contributor

Summary

  • Adds generation pipelines guide to the AI Agents documentation section
  • Covers batch content generation, image/media generation, multi-stage pipelines, fan-out patterns, progress streaming, and AI error handling
  • Motivated by usage data: 155 teams using AI/ML workflows but docs only cover chat-based agents

Test plan

  • Verify MDX renders correctly
  • Verify code examples are syntactically valid (all 7 code samples pass pnpm test:docs)
  • Verify meta.json navigation works
  • Link validation passes (bun run lint:links - 0 errors)

@changeset-bot
Copy link

changeset-bot bot commented Feb 18, 2026

⚠️ No Changeset found

Latest commit: 021f818

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

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

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link
Contributor

vercel bot commented Feb 18, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 533 1 38 572
✅ 💻 Local Development 556 0 68 624
✅ 📦 Local Production 556 0 68 624
✅ 🐘 Local Postgres 556 0 68 624
✅ 🪟 Windows 49 0 3 52
❌ 🌍 Community Worlds 110 46 9 165
✅ 📋 Other 135 0 21 156
Total 2495 47 275 2817

❌ Failed Tests

▲ Vercel Production (1 failed)

nitro (1 failed):

  • promiseAnyWorkflow
🌍 Community Worlds (46 failed)

mongodb (1 failed):

  • webhookWorkflow

turso (45 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 48 0 4
✅ example 48 0 4
✅ express 48 0 4
✅ fastify 48 0 4
✅ hono 48 0 4
✅ nextjs-turbopack 51 0 1
✅ nextjs-webpack 51 0 1
❌ nitro 47 1 4
✅ nuxt 48 0 4
✅ sveltekit 48 0 4
✅ vite 48 0 4
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 45 0 7
✅ express-stable 45 0 7
✅ fastify-stable 45 0 7
✅ hono-stable 45 0 7
✅ nextjs-turbopack-canary 49 0 3
✅ nextjs-turbopack-stable 49 0 3
✅ nextjs-webpack-canary 49 0 3
✅ nextjs-webpack-stable 49 0 3
✅ nitro-stable 45 0 7
✅ nuxt-stable 45 0 7
✅ sveltekit-stable 45 0 7
✅ vite-stable 45 0 7
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 49 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 48 1 3
✅ redis-dev 3 0 0
✅ redis 49 0 3
✅ turso-dev 3 0 0
❌ turso 4 45 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 45 0 7
✅ e2e-local-postgres-nest-stable 45 0 7
✅ e2e-local-prod-nest-stable 45 0 7

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.033s (-2.4%) 1.006s (~) 0.973s 10 1.00x
💻 Local Express 0.035s (+8.3% 🔺) 1.005s (~) 0.970s 10 1.07x
🐘 Postgres Nitro 0.111s (-76.7% 🟢) 1.010s (~) 0.899s 10 3.38x
🐘 Postgres Express 0.129s (+25.1% 🔺) 1.009s (~) 0.880s 10 3.93x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.578s (-16.3% 🟢) 1.911s (-8.0% 🟢) 1.334s 10 1.00x
▲ Vercel Nitro 0.608s (-42.9% 🟢) 1.948s (-21.5% 🟢) 1.340s 10 1.05x
▲ Vercel Next.js (Turbopack) 0.641s (-21.2% 🟢) 1.934s (-6.4% 🟢) 1.294s 10 1.11x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.105s (~) 2.006s (~) 0.901s 10 1.00x
💻 Local Express 1.106s (~) 2.006s (~) 0.900s 10 1.00x
🐘 Postgres Nitro 1.990s (-15.2% 🟢) 2.412s (-20.0% 🟢) 0.422s 10 1.80x
🐘 Postgres Express 2.208s (-10.9% 🟢) 2.614s (-13.3% 🟢) 0.405s 10 2.00x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.249s (-1.9%) 3.001s (-4.4%) 0.752s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.277s (+1.3%) 3.189s (+2.7%) 0.912s 10 1.01x
▲ Vercel Express 2.302s (+5.5% 🔺) 3.183s (+0.9%) 0.881s 10 1.02x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 10.832s (~) 11.023s (~) 0.191s 3 1.00x
💻 Local Express 10.840s (~) 11.022s (~) 0.182s 3 1.00x
🐘 Postgres Express 15.373s (-24.5% 🟢) 16.049s (-23.8% 🟢) 0.676s 2 1.42x
🐘 Postgres Nitro 15.377s (-23.9% 🟢) 16.047s (-23.8% 🟢) 0.670s 2 1.42x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 17.733s (+0.7%) 18.274s (-5.1% 🟢) 0.541s 2 1.00x
▲ Vercel Express 17.780s (+0.6%) 18.496s (-1.5%) 0.715s 2 1.00x
▲ Vercel Next.js (Turbopack) 17.988s (-9.7% 🟢) 18.947s (-9.2% 🟢) 0.959s 2 1.01x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 27.456s (~) 28.050s (~) 0.595s 3 1.00x
💻 Local Express 27.561s (~) 28.053s (~) 0.492s 3 1.00x
🐘 Postgres Express 37.684s (-24.9% 🟢) 38.100s (-24.7% 🟢) 0.416s 2 1.37x
🐘 Postgres Nitro 39.697s (-21.4% 🟢) 40.104s (-21.6% 🟢) 0.408s 2 1.45x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 43.839s (+1.4%) 45.184s (+0.8%) 1.345s 2 1.00x
▲ Vercel Express 44.611s (+4.0%) 45.603s (+3.5%) 0.992s 2 1.02x
▲ Vercel Nitro 47.048s (+8.7% 🔺) 48.245s (+8.9% 🔺) 1.196s 2 1.07x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 57.224s (~) 58.102s (~) 0.878s 2 1.00x
💻 Local Express 57.407s (~) 58.105s (~) 0.698s 2 1.00x
🐘 Postgres Express 80.309s (-20.0% 🟢) 80.688s (-20.3% 🟢) 0.379s 2 1.40x
🐘 Postgres Nitro 92.910s (-7.2% 🟢) 93.230s (-7.0% 🟢) 0.320s 1 1.62x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 90.234s (+4.2%) 91.330s (+3.9%) 1.096s 1 1.00x
▲ Vercel Express 90.540s (+2.5%) 91.752s (+3.0%) 1.212s 2 1.00x
▲ Vercel Next.js (Turbopack) 101.032s (+14.7% 🔺) 102.200s (+14.3% 🔺) 1.168s 1 1.12x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.407s (-1.9%) 2.005s (~) 0.598s 15 1.00x
💻 Local Express 1.431s (+2.1%) 2.005s (~) 0.574s 15 1.02x
🐘 Postgres Express 2.122s (-11.9% 🟢) 2.513s (-16.6% 🟢) 0.391s 12 1.51x
🐘 Postgres Nitro 2.468s (+15.6% 🔺) 3.014s (~) 0.546s 10 1.75x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.635s (+8.6% 🔺) 3.502s (+3.8%) 0.867s 9 1.00x
▲ Vercel Nitro 2.674s (+15.8% 🔺) 3.586s (+8.8% 🔺) 0.912s 9 1.01x
▲ Vercel Next.js (Turbopack) 3.122s (-8.6% 🟢) 4.121s (-4.4%) 0.999s 8 1.18x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 2.597s (~) 3.008s (~) 0.411s 10 1.00x
💻 Local Express 2.639s (+3.4%) 3.007s (~) 0.368s 10 1.02x
🐘 Postgres Nitro 8.924s (+5.2% 🔺) 9.528s (+5.4% 🔺) 0.605s 4 3.44x
🐘 Postgres Express 10.188s (+26.2% 🔺) 10.697s (+29.2% 🔺) 0.509s 3 3.92x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.669s (~) 3.527s (+2.0%) 0.857s 9 1.00x
▲ Vercel Express 2.820s (-9.3% 🟢) 3.630s (-14.2% 🟢) 0.810s 9 1.06x
▲ Vercel Next.js (Turbopack) 2.948s (-7.6% 🟢) 4.635s (+18.4% 🔺) 1.687s 7 1.10x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 7.271s (-1.0%) 8.021s (~) 0.750s 4 1.00x
💻 Local Express 7.577s (+4.1%) 8.019s (~) 0.442s 4 1.04x
🐘 Postgres Nitro 43.576s (-9.8% 🟢) 44.112s (-10.2% 🟢) 0.536s 1 5.99x
🐘 Postgres Express 47.288s (+13.6% 🔺) 48.116s (+14.2% 🔺) 0.828s 1 6.50x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.206s (+25.9% 🔺) 5.287s (+22.9% 🔺) 1.081s 6 1.00x
▲ Vercel Next.js (Turbopack) 4.404s (-13.3% 🟢) 5.568s (-8.7% 🟢) 1.164s 6 1.05x
▲ Vercel Express 8.436s (+81.9% 🔺) 9.494s (+68.9% 🔺) 1.058s 4 2.01x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.440s (+1.4%) 2.006s (~) 0.566s 15 1.00x
💻 Local Nitro 1.446s (+1.1%) 2.005s (~) 0.559s 15 1.00x
🐘 Postgres Nitro 2.059s (-9.4% 🟢) 2.682s (~) 0.622s 12 1.43x
🐘 Postgres Express 2.069s (+5.4% 🔺) 2.397s (-4.7%) 0.327s 13 1.44x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.307s (-13.3% 🟢) 3.146s (-13.5% 🟢) 0.839s 10 1.00x
▲ Vercel Next.js (Turbopack) 3.648s (+62.2% 🔺) 4.726s (+46.9% 🔺) 1.078s 7 1.58x
▲ Vercel Express 15.148s (+585.0% 🔺) 16.281s (+397.6% 🔺) 1.133s 2 6.57x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 2.674s (~) 3.007s (~) 0.333s 10 1.00x
💻 Local Express 2.753s (+2.6%) 3.009s (~) 0.256s 10 1.03x
🐘 Postgres Express 10.352s (-9.6% 🟢) 10.694s (-11.1% 🟢) 0.342s 3 3.87x
🐘 Postgres Nitro 10.978s (-17.6% 🟢) 11.699s (-14.7% 🟢) 0.720s 3 4.11x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.662s (+15.5% 🔺) 3.332s (+4.7%) 0.670s 10 1.00x
▲ Vercel Next.js (Turbopack) 5.975s (+138.2% 🔺) 6.864s (+99.6% 🔺) 0.889s 6 2.24x
▲ Vercel Express 12.221s (+361.9% 🔺) 13.438s (+277.8% 🔺) 1.217s 3 4.59x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 8.056s (+2.4%) 8.267s (~) 0.211s 4 1.00x
💻 Local Express 8.076s (~) 8.774s (+6.1% 🔺) 0.697s 4 1.00x
🐘 Postgres Express 49.148s (-4.6%) 50.107s (-3.9%) 0.959s 1 6.10x
🐘 Postgres Nitro 51.540s (-0.8%) 52.127s (~) 0.587s 1 6.40x
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 13.749s (+343.9% 🔺) 14.661s (+267.9% 🔺) 0.912s 3 1.00x
▲ Vercel Next.js (Turbopack) 19.264s (+399.3% 🔺) 20.451s (+306.5% 🔺) 1.187s 2 1.40x
▲ Vercel Express 33.611s (+771.4% 🔺) 38.442s (+726.8% 🔺) 4.831s 1 2.44x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.171s (-2.2%) 1.002s (~) 0.011s (-3.6%) 1.016s (~) 0.845s 10 1.00x
💻 Local Express 0.177s (+4.7%) 1.002s (~) 0.011s (-4.3%) 1.016s (~) 0.840s 10 1.03x
🐘 Postgres Nitro 1.368s (-38.6% 🟢) 1.674s (-40.6% 🟢) 0.002s (+11.8% 🔺) 2.015s (-33.2% 🟢) 0.647s 10 7.98x
🐘 Postgres Express 1.379s (-43.9% 🟢) 1.661s (-35.7% 🟢) 0.002s (+15.4% 🔺) 2.013s (-33.2% 🟢) 0.633s 10 8.05x
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.032s (-18.3% 🟢) 2.653s (-13.5% 🟢) 0.288s (+24.3% 🔺) 3.491s (-9.5% 🟢) 1.459s 10 1.00x
▲ Vercel Express 2.100s (+6.8% 🔺) 2.743s (+4.1%) 0.126s (-79.3% 🟢) 3.420s (-9.9% 🟢) 1.320s 10 1.03x
▲ Vercel Nitro 2.151s (+11.0% 🔺) 2.828s (+5.2% 🔺) 0.224s (-61.9% 🟢) 3.571s (-6.5% 🟢) 1.420s 10 1.06x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 11/12
🐘 Postgres Nitro 6/12
▲ Vercel Nitro 8/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 12/12
Next.js (Turbopack) ▲ Vercel 12/12
Nitro 💻 Local 10/12
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)

📋 View full workflow run

Wrap writer.write() + releaseLock() in try/finally blocks to ensure
locks are always released, matching the Streaming guide's best practices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments