Skip to content

Build time crusade: Enable parallel production sourcing - #22362

Merged
ianmatson merged 1 commit into
masterfrom
enable-parallel-build-sourcing
Nov 16, 2026
Merged

ianmatson merged 1 commit into
masterfrom
enable-parallel-build-sourcing

Conversation

@ianmatson

Copy link
Copy Markdown
Contributor

Enable Gatsby’s parallel sourcing flag in production. Independent source plugins can run together, at the cost of more simultaneous CPU, memory, and API use. The unused Mapbox build nodes can source before profile nodes; current visitor maps use client geocoding.

Two successful clean local runs with this change alone averaged 7:59, versus 8:25 across nine master runs at 902e373c: 26.0 seconds (5.1%) faster. This is an independent comparison, not the extra saving over this PR’s stack parent. The source stage averaged 34.9 seconds versus 67.6 seconds (48.4% lower).

@github-actions github-actions Bot added the website About the website (beyond just landing pages) label Nov 14, 2026
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Nov 16, 2026 05:11PM

@ianmatson
ianmatson added this pull request to stack #22367 November 14, 2026 15:17
@ianmatson
ianmatson force-pushed the enable-parallel-build-sourcing branch from 41805b0 to d4d953f Compare November 14, 2026 16:44
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

12.22 MiB (no change)

Eager graph (modules shipped in each entrypoint's initial chunks)

Entrypoint Eager size Budget Modules
✅ app 11.15 MiB (no change) report-only 1107
Largest modules in the app closure
Module Size
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css 1023.1 KiB
./src/components/Stickers/Stickers.tsx 696.4 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/puzzle.mjs 388.5 KiB
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js 354.8 KiB
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules 351.4 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/basketball-coach.mjs 337.4 KiB
./node_modules/.pnpm/framer-motion@14.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 126 modules 287.2 KiB
./node_modules/.pnpm/cloudinary-core@2.14.0_lodash@4.17.21/node_modules/cloudinary-core/cloudinary-core.js 281.9 KiB
./src/components/SearchUI/index.tsx + 87 modules 273.1 KiB
./gatsby-browser.tsx + 60 modules 259.4 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-1.mjs 248.5 KiB
./src/components/Pricing/PricingSlider/Slider.tsx + 87 modules 240.2 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-2.mjs 228.2 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/magnifying-glass.mjs 221.7 KiB
./src/hooks/useProduct.ts + 18 modules 166.8 KiB

Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).

@ianmatson
ianmatson force-pushed the enable-parallel-build-sourcing branch 5 times, most recently from 3622993 to de517e1 Compare November 16, 2026 16:54
@ianmatson
ianmatson marked this pull request as ready for review November 16, 2026 16:56
@ianmatson
ianmatson requested a review from a team as a code owner November 16, 2026 16:56
Base automatically changed from start-git-metadata-early to master November 16, 2026 16:56
@ianmatson
ianmatson force-pushed the enable-parallel-build-sourcing branch from de517e1 to 8115230 Compare November 16, 2026 16:57
@ianmatson
ianmatson merged commit dd758ba into master Nov 16, 2026
19 checks passed
@ianmatson
ianmatson deleted the enable-parallel-build-sourcing branch November 16, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website About the website (beyond just landing pages)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant