Skip to content

chore: test parallel Astro prerendering - #33397

Draft
mvvmm wants to merge 1 commit into
productionfrom
chore/test-parallel-prerender
Draft

chore: test parallel Astro prerendering#33397
mvvmm wants to merge 1 commit into
productionfrom
chore/test-parallel-prerender

Conversation

@mvvmm

@mvvmm mvvmm commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Tests Astro's experimental parallel prerender workers in cloudflare-docs using the preview packages from withastro/astro#17932.

Adds pnpm run build:parallel, which enables experimental.parallelPrerender with four workers while leaving the default build unchanged.

Local benchmark

Measured on the same local checkout with /usr/bin/time -l. Each command built 9,001 pages, and times include the prebuild asset fetch.

Before each cold run, the following build outputs and caches were removed: dist/, .astro/, .nimbus/, node_modules/.astro/, node_modules/.vite/, node_modules/.vite-temp/, node_modules/.cache/, and .wrangler/tmp/. The warm incremental run immediately followed the first incremental run without clearing them.

Build Command Wall time Peak RSS Time vs. standard Memory vs. standard
Standard, cold pnpm run build 168.2s 8.23 GiB baseline baseline
Parallel, 4 workers, cold pnpm run build:parallel 128.2s 12.65 GiB 23.8% faster 53.7% higher
Incremental, cold pnpm run build:incremental 175.9s 9.53 GiB 4.6% slower 15.8% higher
Incremental, no changes pnpm run build:incremental 99.4s 9.24 GiB 40.9% faster 12.2% higher

@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
*.ts @cloudflare/content-engineering
package.json @cloudflare/content-engineering
* @cloudflare/product-owners

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://chore-test-parallel-prerender.previews.developers.cloudflare.com (commit e7be61c)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://2b69ada4.previews.developers.cloudflare.com e7be61c 2026-09-11T17:52:29.245Z Visit the dashboard ↗

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant