Skip to content

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ctate
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
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;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
add providerOptions support to DurableAgent by ctate · Pull Request #667 · vercel/workflow · GitHub
Skip to content

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

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

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

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

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

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

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

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

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ctate
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); add providerOptions support to DurableAgent by ctate · Pull Request #667 · vercel/workflow · GitHub
Skip to content

add providerOptions support to DurableAgent - #667

Closed
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options
Closed

add providerOptions support to DurableAgent#667
ctate wants to merge 2 commits into
mainfrom
ctate/da-provider-options

Conversation

@ctate

Copy link
Copy Markdown
Contributor

Changes

  • Add providerOptions to DurableAgentOptions (constructor) and DurableAgentStreamOptions (stream method)
  • Pass providerOptions through streamTextIterator and doStreamStep to model.doStream()
  • Re-export ProviderOptions type from @workflow/ai
  • Stream-level options override constructor-level options

Usage

// Option 1: Set defaults in constructor
const agent = new DurableAgent({
model: 'openai/gpt-5.2',
+ providerOptions: {+ openai: { reasoningEffort: 'high' },+ },
});
// Option 2: Override per-call
await agent.stream({
messages,
writable,
+ providerOptions: {+ openai: { serviceTier: 'priority' },+ },
});

@changeset-bot

changeset-botBot commented Dec 20, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 712f56d

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

vercelBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentReviewUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentDec 20, 2025 9:44pm
example-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-astro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-express-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-fastify-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-hono-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nitro-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-nuxt-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-sveltekit-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
workbench-vite-workflowReadyReadyPreview, CommentDec 20, 2025 9:44pm
1 Skipped Deployment
ProjectDeploymentReviewUpdated (UTC)
workflow-docsSkippedSkippedDec 20, 2025 9:44pm

@github-actions

github-actionsBot commented Dec 20, 2025

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.030s (-26.8% 🟢)1.006s (~)0.976s101.00x
🌐 StarterNext.js (Turbopack)0.040s (-1.5%)1.014s (~)0.975s101.32x
💻 LocalNext.js (Turbopack)0.042s (+4.8%)1.018s (~)0.976s101.39x
🌐 RedisNext.js (Turbopack)0.044s (+5.3% 🔺)1.018s (~)0.975s101.46x
💻 LocalExpress0.045s (+4.9%)1.007s (~)0.962s101.50x
🌐 MongoDBNext.js (Turbopack)0.048s (-44.1% 🟢)1.014s (~)0.967s101.59x
🌐 TursoNext.js (Turbopack)0.103s (-8.8% 🟢)1.016s (~)0.912s103.44x
🐘 PostgresNext.js (Turbopack)0.126s (-22.0% 🟢)1.020s (~)0.894s104.21x
🐘 PostgresNitro0.293s (-2.3%)1.012s (~)0.719s109.77x
🐘 PostgresExpress0.365s (+3.9%)1.013s (~)0.648s1012.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.505s (-6.1% 🟢)1.623s (+19.9% 🔺)1.118s101.00x
▲ VercelExpress0.566s (+1.5%)1.583s (-3.0%)1.018s101.12x
▲ VercelNext.js (Turbopack)0.601s (+8.8% 🔺)1.670s (-1.3%)1.070s101.19x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.075s (-3.3%)2.006s (~)0.931s101.00x
🌐 StarterNext.js (Turbopack)1.092s (+0.9%)2.009s (~)0.917s101.02x
💻 LocalNext.js (Turbopack)1.096s (~)2.012s (~)0.916s101.02x
🌐 RedisNext.js (Turbopack)1.099s (~)2.012s (~)0.913s101.02x
💻 LocalExpress1.114s (~)2.007s (~)0.893s101.04x
🌐 MongoDBNext.js (Turbopack)1.303s (+1.6%)2.013s (~)0.711s101.21x
🌐 TursoNext.js (Turbopack)1.305s (+0.8%)2.016s (~)0.711s101.21x
🐘 PostgresNext.js (Turbopack)1.919s (~)2.019s (~)0.100s101.78x
🐘 PostgresNitro2.147s (~)3.014s (~)0.867s102.00x
🐘 PostgresExpress2.215s (+1.1%)3.014s (~)0.799s102.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.599s (+5.2% 🔺)3.743s (+9.6% 🔺)1.144s101.00x
▲ VercelNitro2.614s (+5.8% 🔺)3.687s (+5.9% 🔺)1.073s101.01x
▲ VercelExpress3.179s (+31.0% 🔺)4.056s (+15.1% 🔺)0.877s101.22x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.511s (-2.6%)11.013s (~)0.502s51.00x
🌐 StarterNext.js (Turbopack)10.601s (~)11.012s (~)0.411s51.01x
💻 LocalNext.js (Turbopack)10.655s (~)11.020s (~)0.365s51.01x
🌐 RedisNext.js (Turbopack)10.666s (~)11.017s (~)0.350s51.01x
💻 LocalExpress10.797s (~)11.014s (~)0.217s51.03x
🌐 TursoNext.js (Turbopack)12.195s (~)13.032s (~)0.837s51.16x
🌐 MongoDBNext.js (Turbopack)12.261s (+1.1%)13.027s (~)0.765s51.17x
🐘 PostgresNext.js (Turbopack)15.225s (~)16.036s (~)0.812s51.45x
🐘 PostgresExpress20.182s (-0.8%)21.036s (~)0.853s51.92x
🐘 PostgresNitro20.501s (~)21.030s (~)0.529s51.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro21.425s (+3.5%)22.231s (+3.1%)0.805s51.00x
▲ VercelExpress21.493s (+5.0% 🔺)22.196s (+5.0%)0.704s51.00x
▲ VercelNext.js (Turbopack)21.543s (+1.9%)22.311s (+2.5%)0.768s51.01x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.325s (-5.8% 🟢)2.005s (~)0.680s151.00x
🌐 StarterNext.js (Turbopack)1.346s (~)2.008s (~)0.662s151.02x
🌐 RedisNext.js (Turbopack)1.356s (-1.3%)2.010s (~)0.654s151.02x
💻 LocalNext.js (Turbopack)1.381s (~)2.012s (~)0.631s151.04x
💻 LocalExpress1.425s (+1.1%)2.005s (~)0.581s151.08x
🐘 PostgresNext.js (Turbopack)1.850s (+2.5%)2.018s (~)0.168s151.40x
🌐 MongoDBNext.js (Turbopack)2.135s (~)3.014s (~)0.878s101.61x
🌐 TursoNext.js (Turbopack)2.212s (~)3.015s (~)0.803s101.67x
🐘 PostgresNitro2.369s (-3.2%)3.012s (~)0.643s101.79x
🐘 PostgresExpress2.460s (-1.3%)3.012s (~)0.553s101.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.860s (-0.7%)3.747s (+1.4%)0.887s91.00x
▲ VercelNext.js (Turbopack)3.074s (+12.3% 🔺)4.044s (+8.5% 🔺)0.971s81.07x
▲ VercelExpress3.437s (+22.6% 🔺)4.416s (+18.5% 🔺)0.980s71.20x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.973s (-10.8% 🟢)2.156s (-32.0% 🟢)0.182s141.00x
💻 LocalNext.js (Turbopack)2.083s (-3.0%)3.018s (-1.5%)0.935s101.06x
💻 LocalExpress2.193s (~)3.056s (~)0.863s101.11x
🌐 StarterNext.js (Turbopack)2.460s (~)3.009s (~)0.549s101.25x
🌐 RedisNext.js (Turbopack)2.512s (~)3.015s (~)0.503s101.27x
🐘 PostgresNext.js (Turbopack)2.617s (~)3.022s (~)0.405s101.33x
🐘 PostgresNitro2.795s (-3.3%)3.121s (~)0.325s101.42x
🐘 PostgresExpress2.842s (-2.2%)3.016s (-3.1%)0.173s101.44x
🌐 TursoNext.js (Turbopack)4.705s (-0.8%)5.359s (+3.5%)0.654s62.38x
🌐 MongoDBNext.js (Turbopack)4.730s (+0.8%)5.180s (~)0.450s62.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.271s (+4.6%)3.771s (~)0.500s81.00x
▲ VercelNext.js (Turbopack)3.346s (~)4.007s (~)0.661s81.02x
▲ VercelNitro3.471s (-13.3% 🟢)4.142s (-9.6% 🟢)0.671s81.06x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.356s (-3.4%)2.004s (~)0.648s151.00x
🌐 RedisNext.js (Turbopack)1.372s (~)2.010s (~)0.638s151.01x
🌐 StarterNext.js (Turbopack)1.376s (+2.8%)2.007s (~)0.631s151.01x
💻 LocalNext.js (Turbopack)1.398s (~)2.013s (~)0.615s151.03x
💻 LocalExpress1.417s (~)2.005s (~)0.589s151.04x
🐘 PostgresNext.js (Turbopack)1.747s (+4.2%)2.013s (~)0.266s151.29x
🐘 PostgresNitro1.939s (-6.1% 🟢)2.076s (-22.7% 🟢)0.137s151.43x
🐘 PostgresExpress2.071s (+27.1% 🔺)2.405s (+19.6% 🔺)0.334s131.53x
🌐 MongoDBNext.js (Turbopack)2.139s (+0.6%)3.011s (~)0.872s101.58x
🌐 TursoNext.js (Turbopack)2.263s (+1.3%)3.030s (+0.6%)0.767s101.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.713s (+2.4%)3.721s (+3.9%)1.008s91.00x
▲ VercelNext.js (Turbopack)2.736s (-6.3% 🟢)3.752s (-2.6%)1.016s81.01x
▲ VercelExpress3.493s (+31.2% 🔺)4.473s (+22.6% 🔺)0.980s71.29x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)2.085s (-5.5% 🟢)2.911s (-5.4% 🟢)0.826s111.00x
💻 LocalNitro2.126s (-5.4% 🟢)3.111s (-2.8%)0.985s101.02x
💻 LocalExpress2.251s (-2.3%)3.198s (~)0.947s101.08x
🌐 StarterNext.js (Turbopack)2.466s (~)3.009s (~)0.544s101.18x
🌐 RedisNext.js (Turbopack)2.507s (~)3.011s (~)0.504s101.20x
🐘 PostgresNitro2.540s (-14.9% 🟢)3.012s (-9.2% 🟢)0.472s101.22x
🐘 PostgresNext.js (Turbopack)2.564s (-3.8%)3.016s (~)0.451s101.23x
🐘 PostgresExpress2.708s (-3.7%)3.016s (~)0.308s101.30x
🌐 MongoDBNext.js (Turbopack)4.664s (-0.5%)5.182s (~)0.518s62.24x
🌐 TursoNext.js (Turbopack)4.718s (~)5.230s (+0.8%)0.512s62.26x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.989s (+0.6%)3.780s (+2.2%)0.791s81.00x
▲ VercelNitro3.012s (+2.7%)3.691s (+5.6% 🔺)0.680s91.01x
▲ VercelExpress3.029s (+1.3%)3.695s (+1.9%)0.666s91.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.108s (-37.5% 🟢)0.999s (+0.7%)0.012s (-16.9% 🟢)1.018s (~)0.910s101.00x
🌐 StarterNext.js (Turbopack)0.131s (+2.3%)1.006s (~)0.000s (NaN%)1.011s (~)0.880s101.21x
💻 LocalNext.js (Turbopack)0.139s (~)1.004s (~)0.018s (+12.3% 🔺)1.029s (~)0.890s101.29x
🌐 RedisNext.js (Turbopack)0.142s (-4.9%)1.005s (~)0.000s (NaN%)1.014s (~)0.871s101.32x
💻 LocalExpress0.179s (+2.3%)0.992s (~)0.017s (+8.5% 🔺)1.023s (~)0.844s101.66x
🌐 TursoNext.js (Turbopack)0.489s (+3.8%)0.975s (~)0.000s (-100.0% 🟢)1.017s (~)0.528s104.54x
🌐 MongoDBNext.js (Turbopack)0.522s (+4.2%)0.928s (-1.9%)0.000s (-100.0% 🟢)1.014s (~)0.492s104.84x
🐘 PostgresNext.js (Turbopack)1.258s (+7.7% 🔺)1.764s (~)0.000s (+Infinity% 🔺)1.917s (~)0.660s1011.67x
🐘 PostgresNitro2.305s (-1.7%)2.738s (+1.5%)0.000s (-100.0% 🟢)3.014s (~)0.709s1021.38x
🐘 PostgresExpress2.381s (~)2.661s (~)0.000s (-100.0% 🟢)3.015s (~)0.634s1022.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.558s (+7.2% 🔺)3.308s (+16.9% 🔺)0.485s (-5.9% 🟢)4.225s (+12.8% 🔺)1.667s101.00x
▲ VercelExpress2.601s (+10.4% 🔺)3.204s (+21.5% 🔺)0.463s (-28.2% 🟢)4.101s (+11.4% 🔺)1.500s101.02x
▲ VercelNitro2.680s (+10.2% 🔺)3.120s (+10.8% 🔺)0.423s (-55.5% 🟢)4.029s (-2.5%)1.349s101.05x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro7/8
🐘 PostgresNext.js (Turbopack)7/8
▲ VercelNitro4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local8/8
Next.js (Turbopack)🌐 Starter5/8
Nitro💻 Local8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@github-actions

github-actionsBot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production286011297
✅ 💻 Local Development26208270
✅ 📦 Local Production26208270
✅ 🐘 Local Postgres26208270
✅ 🪟 Windows270027
❌ 🌍 Community Worlds109110120
Total120811351254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro2601
✅ example2601
✅ express2601
✅ fastify2601
✅ hono2601
✅ nextjs-turbopack2601
✅ nextjs-webpack2601
✅ nitro2601
✅ nuxt2601
✅ sveltekit2601
✅ vite2601
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable2601
✅ express-stable2601
✅ fastify-stable2601
✅ hono-stable2601
✅ nextjs-turbopack-stable2700
✅ nextjs-webpack-stable2700
✅ nitro-stable2601
✅ nuxt-stable2601
✅ sveltekit-stable2601
✅ vite-stable2601
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2700
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2610
✅ redis-dev300
❌ redis2610
✅ starter-dev300
❌ starter1980
✅ turso-dev300
❌ turso2610

📋 View full workflow run

I, Chris Tate <chris@ctate.dev>, hereby add my Signed-off-by to this commit: 223109e
Signed-off-by: Chris Tate <chris@ctate.dev>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ctate