Skip to content

Fix "dev" script in web package#1039

Merged
TooTallNate merged 2 commits into
mainfrom
02-13-fix_dev_script_in_web_package
Feb 13, 2026
Merged

Fix "dev" script in web package#1039
TooTallNate merged 2 commits into
mainfrom
02-13-fix_dev_script_in_web_package

Conversation

@TooTallNate
Copy link
Copy Markdown
Member

@TooTallNate TooTallNate commented Feb 13, 2026

Fix SSR hydration mismatch in dev mode and set web-shared package as ES module.

What changed?

  • Set "type": "module" in web-shared package.json
  • Fixed hydration issues in dev mode by:
    • Setting initial isLoading state to false in workflow API client hooks
    • Modified Vite config to handle dependencies properly in dev mode
    • Added React dependency deduplication to prevent duplicate React instances

How to test?

  1. Run the web UI in dev mode with react-router dev
  2. Verify no hydration mismatches occur in the console
  3. Check that workflow runs and hooks load correctly
  4. Ensure the application functions properly in both dev and production modes

Why make this change?

The application was experiencing hydration mismatches in dev mode due to differences between server-side rendering and client hydration states. The initial loading state was set to true on the server but would be different on the client. Additionally, the Vite configuration needed adjustments to properly handle CommonJS packages during development and prevent duplicate React instances that could cause "Invalid hook call" errors.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 13, 2026

🦋 Changeset detected

Latest commit: 8216f33

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

This PR includes changesets to release 15 packages
Name Type
@workflow/web-shared Patch
@workflow/web Patch
@workflow/cli Patch
workflow Patch
@workflow/world-testing Patch
@workflow/core Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

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

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

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
example-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-astro-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-express-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-fastify-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-hono-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-nitro-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-nuxt-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-sveltekit-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workbench-vite-workflow Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workflow-nest Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm
workflow-swc-playground Ready Ready Preview, Comment, Open in v0 Feb 13, 2026 10:26pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 13, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 496 5 38 539
✅ 💻 Local Development 520 0 68 588
❌ 📦 Local Production 475 45 68 588
❌ 🐘 Local Postgres 475 45 68 588
✅ 🪟 Windows 46 0 3 49
❌ 🌍 Community Worlds 105 42 9 156
✅ 📋 Other 126 0 21 147
Total 2243 137 275 2655

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • hookWorkflow

example (1 failed):

  • webhookWorkflow

express (2 failed):

  • hookWorkflow
  • webhookWorkflow

fastify (1 failed):

  • webhookWorkflow
📦 Local Production (45 failed)

nextjs-turbopack-canary (45 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • hookWorkflow
  • webhookWorkflow
  • webhook route with invalid token
  • sleepingWorkflow
  • 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 endpoint (HTTP) - workflow and step endpoints respond to __health query parameter
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
🐘 Local Postgres (45 failed)

nextjs-turbopack-canary (45 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • hookWorkflow
  • webhookWorkflow
  • webhook route with invalid token
  • sleepingWorkflow
  • 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 endpoint (HTTP) - workflow and step endpoints respond to __health query parameter
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • 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
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
🌍 Community Worlds (42 failed)

turso (42 failed):

  • addTenWorkflow
  • addTenWorkflow
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • hookWorkflow
  • webhookWorkflow
  • sleepingWorkflow
  • 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
  • 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 44 1 4
❌ example 44 1 4
❌ express 43 2 4
❌ fastify 44 1 4
✅ hono 45 0 4
✅ nextjs-turbopack 48 0 1
✅ nextjs-webpack 48 0 1
✅ nitro 45 0 4
✅ nuxt 45 0 4
✅ sveltekit 45 0 4
✅ vite 45 0 4
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 42 0 7
✅ express-stable 42 0 7
✅ fastify-stable 42 0 7
✅ hono-stable 42 0 7
✅ nextjs-turbopack-canary 46 0 3
✅ nextjs-turbopack-stable 46 0 3
✅ nextjs-webpack-canary 46 0 3
✅ nextjs-webpack-stable 46 0 3
✅ nitro-stable 42 0 7
✅ nuxt-stable 42 0 7
✅ sveltekit-stable 42 0 7
✅ vite-stable 42 0 7
❌ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 42 0 7
✅ express-stable 42 0 7
✅ fastify-stable 42 0 7
✅ hono-stable 42 0 7
❌ nextjs-turbopack-canary 1 45 3
✅ nextjs-turbopack-stable 46 0 3
✅ nextjs-webpack-canary 46 0 3
✅ nextjs-webpack-stable 46 0 3
✅ nitro-stable 42 0 7
✅ nuxt-stable 42 0 7
✅ sveltekit-stable 42 0 7
✅ vite-stable 42 0 7
❌ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 42 0 7
✅ express-stable 42 0 7
✅ fastify-stable 42 0 7
✅ hono-stable 42 0 7
❌ nextjs-turbopack-canary 1 45 3
✅ nextjs-turbopack-stable 46 0 3
✅ nextjs-webpack-canary 46 0 3
✅ nextjs-webpack-stable 46 0 3
✅ nitro-stable 42 0 7
✅ nuxt-stable 42 0 7
✅ sveltekit-stable 42 0 7
✅ vite-stable 42 0 7
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 46 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
✅ mongodb 46 0 3
✅ redis-dev 3 0 0
✅ redis 46 0 3
✅ turso-dev 3 0 0
❌ turso 4 42 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 42 0 7
✅ e2e-local-postgres-nest-stable 42 0 7
✅ e2e-local-prod-nest-stable 42 0 7

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

Copy link
Copy Markdown
Member Author

TooTallNate commented Feb 13, 2026

@TooTallNate TooTallNate marked this pull request as ready for review February 13, 2026 17:46
Copilot AI review requested due to automatic review settings February 13, 2026 17:46
@TooTallNate TooTallNate requested review from a team and removed request for Copilot February 13, 2026 17:46
Copilot AI review requested due to automatic review settings February 13, 2026 21:43
@TooTallNate TooTallNate force-pushed the 02-12-retheme_datainspector_to_match_node.js_util.inspect_colors branch from 09faed9 to bc74e97 Compare February 13, 2026 21:43
@TooTallNate TooTallNate force-pushed the 02-13-fix_dev_script_in_web_package branch from 5d2c31f to 313311b Compare February 13, 2026 21:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>
@TooTallNate TooTallNate merged commit 5213309 into main Feb 13, 2026
3 of 11 checks passed
@TooTallNate TooTallNate deleted the 02-13-fix_dev_script_in_web_package branch February 13, 2026 22:24
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 13, 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.031s (-4.9%) 1.005s (~) 0.973s 10 1.00x
💻 Local Express 0.032s (-0.6%) 1.004s (~) 0.972s 10 1.02x
💻 Local Next.js (Turbopack) 0.040s 1.005s 0.965s 10 1.28x
🌐 Redis Next.js (Turbopack) 0.048s (+30.9% 🔺) 1.005s (~) 0.956s 10 1.54x
🌐 MongoDB Next.js (Turbopack) 0.092s (-4.7%) 1.007s (~) 0.915s 10 2.94x
🐘 Postgres Express 0.448s (+128.0% 🔺) 1.010s (~) 0.563s 10 14.30x
🐘 Postgres Nitro 0.501s (+125.1% 🔺) 1.010s (-0.6%) 0.509s 10 16.01x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.578s (-0.7%) 1.785s (-13.2% 🟢) 1.206s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.629s (-2.1%) 1.928s (+2.7%) 1.299s 10 1.09x
▲ Vercel Express 0.645s (~) 1.875s (-10.4% 🟢) 1.230s 10 1.12x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.098s 2.005s 0.908s 10 1.00x
💻 Local Express 1.102s (~) 2.005s (~) 0.902s 10 1.00x
💻 Local Nitro 1.104s (~) 2.005s (~) 0.901s 10 1.01x
🌐 Redis Next.js (Turbopack) 1.107s (+1.9%) 2.006s (~) 0.899s 10 1.01x
🌐 MongoDB Next.js (Turbopack) 1.295s (-1.4%) 2.008s (~) 0.713s 10 1.18x
🐘 Postgres Express 2.311s (+33.2% 🔺) 3.015s (+30.4% 🔺) 0.704s 10 2.11x
🐘 Postgres Nitro 2.386s (-2.4%) 3.015s (~) 0.629s 10 2.17x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.200s (-10.9% 🟢) 3.017s (-8.5% 🟢) 0.817s 10 1.00x
▲ Vercel Nitro 2.221s (-13.4% 🟢) 2.900s (-16.0% 🟢) 0.679s 10 1.01x
▲ Vercel Next.js (Turbopack) 2.284s (-1.6%) 3.075s (-1.4%) 0.791s 10 1.04x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 10.713s 11.021s 0.309s 3 1.00x
🌐 Redis Next.js (Turbopack) 10.724s (+1.2%) 11.022s (~) 0.297s 3 1.00x
💻 Local Express 10.818s (~) 11.022s (~) 0.204s 3 1.01x
💻 Local Nitro 10.833s (~) 11.023s (~) 0.190s 3 1.01x
🌐 MongoDB Next.js (Turbopack) 12.238s (~) 13.020s (~) 0.782s 3 1.14x
🐘 Postgres Express 20.162s (+30.1% 🔺) 21.063s (+31.3% 🔺) 0.901s 2 1.88x
🐘 Postgres Nitro 20.265s (~) 21.059s (~) 0.794s 2 1.89x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 17.336s (-3.9%) 18.435s (-2.8%) 1.099s 2 1.00x
▲ Vercel Nitro 17.337s (-2.9%) 18.121s (-4.8%) 0.784s 2 1.00x
▲ Vercel Next.js (Turbopack) 20.076s (+8.5% 🔺) 21.120s (+8.8% 🔺) 1.044s 2 1.16x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 26.957s (+1.3%) 27.052s (~) 0.095s 3 1.00x
💻 Local Next.js (Turbopack) 27.192s 28.051s 0.860s 3 1.01x
💻 Local Express 27.478s (~) 28.052s (~) 0.573s 3 1.02x
💻 Local Nitro 27.485s (~) 28.050s (~) 0.565s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 30.447s (~) 31.043s (~) 0.596s 2 1.13x
🐘 Postgres Nitro 50.313s (~) 50.632s (-1.0%) 0.319s 2 1.87x
🐘 Postgres Express 50.416s (+34.1% 🔺) 51.147s (+34.3% 🔺) 0.730s 2 1.87x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 43.608s (-14.7% 🟢) 44.632s (-16.3% 🟢) 1.025s 2 1.00x
▲ Vercel Next.js (Turbopack) 43.636s (-13.8% 🟢) 44.276s (-14.6% 🟢) 0.639s 2 1.00x
▲ Vercel Nitro 44.577s (-5.9% 🟢) 45.436s (-6.8% 🟢) 0.859s 2 1.02x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 54.508s (+1.5%) 55.103s (+1.9%) 0.594s 2 1.00x
💻 Local Next.js (Turbopack) 56.765s 57.103s 0.338s 2 1.04x
💻 Local Express 57.273s (~) 58.101s (~) 0.828s 2 1.05x
💻 Local Nitro 57.316s (~) 58.100s (~) 0.784s 2 1.05x
🌐 MongoDB Next.js (Turbopack) 60.776s (~) 61.059s (-0.8%) 0.284s 2 1.11x
🐘 Postgres Nitro 100.263s (~) 101.243s (+1.0%) 0.980s 1 1.84x
🐘 Postgres Express 100.524s (+36.8% 🔺) 101.259s (+37.4% 🔺) 0.735s 1 1.84x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 94.767s (+3.4%) 95.472s (+2.7%) 0.705s 1 1.00x
▲ Vercel Nitro 95.908s (+3.4%) 96.388s (+2.8%) 0.480s 1 1.01x
▲ Vercel Next.js (Turbopack) 140.282s (+51.9% 🔺) 140.774s (+50.6% 🔺) 0.492s 1 1.48x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.260s (+5.6% 🔺) 2.006s (~) 0.746s 15 1.00x
💻 Local Next.js (Turbopack) 1.393s 2.005s 0.613s 15 1.11x
💻 Local Nitro 1.412s (-2.6%) 2.005s (~) 0.594s 15 1.12x
💻 Local Express 1.419s (+0.9%) 2.005s (~) 0.586s 15 1.13x
🌐 MongoDB Next.js (Turbopack) 2.133s (~) 3.007s (~) 0.874s 10 1.69x
🐘 Postgres Nitro 2.312s (+3.9%) 3.014s (~) 0.702s 10 1.83x
🐘 Postgres Express 2.482s (+28.4% 🔺) 3.014s (+19.9% 🔺) 0.533s 10 1.97x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.338s (-43.0% 🟢) 3.157s (-40.7% 🟢) 0.819s 10 1.00x
▲ Vercel Next.js (Turbopack) 3.316s (+16.6% 🔺) 4.017s (+12.8% 🔺) 0.701s 8 1.42x
▲ Vercel Express 3.558s (+39.6% 🔺) 4.303s (+17.1% 🔺) 0.745s 7 1.52x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.510s 3.007s 0.496s 10 1.00x
🌐 Redis Next.js (Turbopack) 2.528s (+5.4% 🔺) 3.008s (~) 0.480s 10 1.01x
💻 Local Nitro 2.637s (-2.0%) 3.008s (~) 0.370s 10 1.05x
💻 Local Express 2.646s (~) 3.007s (~) 0.362s 10 1.05x
🌐 MongoDB Next.js (Turbopack) 4.721s (-2.0%) 5.176s (-3.2%) 0.455s 6 1.88x
🐘 Postgres Express 8.302s (-26.9% 🟢) 9.033s (-24.9% 🟢) 0.731s 4 3.31x
🐘 Postgres Nitro 8.495s (-2.1%) 8.780s (-2.9%) 0.285s 4 3.38x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.476s (+8.1% 🔺) 4.604s (+5.1% 🔺) 1.129s 7 1.00x
▲ Vercel Nitro 8.022s (+83.6% 🔺) 8.946s (+64.1% 🔺) 0.924s 6 2.31x
▲ Vercel Next.js (Turbopack) 10.106s (+154.2% 🔺) 11.249s (+128.2% 🔺) 1.143s 3 2.91x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 4.105s (+5.2% 🔺) 4.724s (+10.0% 🔺) 0.620s 7 1.00x
💻 Local Next.js (Turbopack) 7.094s 7.764s 0.670s 4 1.73x
💻 Local Nitro 7.682s (-4.8%) 8.018s (-8.6% 🟢) 0.336s 4 1.87x
💻 Local Express 7.796s (+4.2%) 8.020s (~) 0.223s 4 1.90x
🌐 MongoDB Next.js (Turbopack) 9.780s (-1.5%) 10.347s (~) 0.567s 3 2.38x
🐘 Postgres Nitro 47.286s (-2.3%) 48.141s (-2.0%) 0.855s 1 11.52x
🐘 Postgres Express 47.973s (-4.3%) 48.137s (-5.8% 🟢) 0.164s 1 11.69x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 15.947s (+14.6% 🔺) 17.086s (+13.2% 🔺) 1.138s 2 1.00x
▲ Vercel Nitro 21.683s (+64.2% 🔺) 22.644s (+57.2% 🔺) 0.960s 2 1.36x
▲ Vercel Next.js (Turbopack) 24.852s (+163.9% 🔺) 25.824s (+145.7% 🔺) 0.972s 2 1.56x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.283s (+6.5% 🔺) 2.006s (~) 0.723s 15 1.00x
💻 Local Next.js (Turbopack) 1.389s 2.005s 0.616s 15 1.08x
💻 Local Nitro 1.438s (-0.9%) 2.005s (~) 0.567s 15 1.12x
💻 Local Express 1.463s (+1.5%) 2.005s (~) 0.542s 15 1.14x
🐘 Postgres Nitro 2.002s (+14.1% 🔺) 2.680s (+29.0% 🔺) 0.678s 12 1.56x
🐘 Postgres Express 2.105s (+1.0%) 2.681s (~) 0.576s 12 1.64x
🌐 MongoDB Next.js (Turbopack) 2.217s (+4.1%) 3.007s (~) 0.790s 10 1.73x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.457s (-43.6% 🟢) 3.135s (-43.1% 🟢) 0.678s 10 1.00x
▲ Vercel Next.js (Turbopack) 3.087s (-32.6% 🟢) 4.054s (-25.1% 🟢) 0.967s 8 1.26x
▲ Vercel Express 7.063s (-21.9% 🟢) 7.712s (-27.7% 🟢) 0.649s 4 2.87x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 2.511s (+6.0% 🔺) 3.008s (~) 0.496s 10 1.00x
💻 Local Next.js (Turbopack) 2.580s 3.009s 0.429s 10 1.03x
💻 Local Nitro 2.698s (-3.8%) 3.007s (~) 0.309s 10 1.07x
💻 Local Express 2.797s (+1.6%) 3.007s (~) 0.211s 10 1.11x
🌐 MongoDB Next.js (Turbopack) 4.660s (-1.1%) 5.175s (~) 0.515s 6 1.86x
🐘 Postgres Nitro 11.016s (+10.9% 🔺) 11.366s (+9.7% 🔺) 0.350s 3 4.39x
🐘 Postgres Express 11.298s (-18.5% 🟢) 12.039s (-16.2% 🟢) 0.740s 3 4.50x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.935s (-40.7% 🟢) 3.623s (-39.4% 🟢) 0.687s 9 1.00x
▲ Vercel Next.js (Turbopack) 3.329s (+1.1%) 4.294s (-1.4%) 0.964s 7 1.13x
▲ Vercel Nitro 4.155s (+8.0% 🔺) 4.991s (-0.8%) 0.836s 7 1.42x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 4.147s (+5.7% 🔺) 4.725s (+10.0% 🔺) 0.578s 7 1.00x
💻 Local Next.js (Turbopack) 7.791s 8.265s 0.474s 4 1.88x
💻 Local Express 7.839s (-2.5%) 8.270s (-2.9%) 0.431s 4 1.89x
💻 Local Nitro 8.136s (-2.7%) 8.522s (-5.6% 🟢) 0.385s 4 1.96x
🌐 MongoDB Next.js (Turbopack) 9.971s (+1.7%) 10.345s (~) 0.374s 3 2.40x
🐘 Postgres Nitro 49.520s (+3.8%) 50.129s (+4.2%) 0.609s 1 11.94x
🐘 Postgres Express 51.535s (-6.4% 🟢) 52.129s (-5.4% 🟢) 0.594s 1 12.43x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 6.219s (-2.5%) 7.246s (-4.4%) 1.026s 5 1.00x
▲ Vercel Next.js (Turbopack) 7.454s (+68.3% 🔺) 8.180s (+50.5% 🔺) 0.726s 4 1.20x
▲ Vercel Nitro 12.268s (+121.5% 🔺) 13.019s (+89.2% 🔺) 0.750s 3 1.97x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 0.140s 1.001s 0.012s 1.017s 0.877s 10 1.00x
🌐 Redis Next.js (Turbopack) 0.159s (+38.8% 🔺) 1.000s (~) 0.001s (+18.2% 🔺) 1.007s (~) 0.848s 10 1.14x
💻 Local Express 0.172s (-0.5%) 1.002s (~) 0.011s (~) 1.017s (~) 0.844s 10 1.23x
💻 Local Nitro 0.177s (+0.9%) 1.002s (~) 0.011s (+1.8%) 1.017s (~) 0.840s 10 1.26x
🌐 MongoDB Next.js (Turbopack) 0.494s (~) 0.950s (~) 0.001s (-18.8% 🟢) 1.008s (~) 0.514s 10 3.52x
🐘 Postgres Nitro 1.968s (-14.6% 🟢) 2.184s (-20.2% 🟢) 0.002s (+25.0% 🔺) 2.515s (-16.6% 🟢) 0.547s 10 14.03x
🐘 Postgres Express 2.195s (+226.1% 🔺) 2.853s (+170.8% 🔺) 0.001s (+8.3% 🔺) 3.018s (+171.8% 🔺) 0.823s 10 15.64x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.832s (+34.1% 🔺) 3.165s (+27.3% 🔺) 0.209s (+33.1% 🔺) 3.951s (+23.2% 🔺) 1.120s 10 1.00x
▲ Vercel Express 6.179s (+200.2% 🔺) 5.691s (+93.0% 🔺) 0.184s (+31.9% 🔺) 7.772s (+109.4% 🔺) 1.593s 10 2.18x
▲ Vercel Nitro 7.749s (+173.8% 🔺) 7.319s (+126.8% 🔺) 0.216s (+8.7% 🔺) 8.999s (+109.1% 🔺) 1.250s 10 2.74x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Next.js (Turbopack) 11/12
🐘 Postgres Nitro 8/12
▲ Vercel Express 8/12
Fastest World by Framework

Winner determined by most benchmark wins

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

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.

4 participants