Skip to content

perf: send only changed chunk properties back to Rust from output hooks - #11488

Merged
hyfdev merged 5 commits into
rolldown:mainfrom
anonrig:perf/generate-bundle-send-changed-fields
Nov 6, 2026
Merged

hyfdev merged 5 commits into
rolldown:mainfrom
anonrig:perf/generate-bundle-send-changed-fields

Conversation

@anonrig

@anonrig anonrig commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Why

In a large Vite 8 app, the production client build has 2,034 chunks with 143 MB of hidden sourcemaps, and the SSR build has 3,371 chunks with 146 MB. generateBundle hooks are expensive enough there that the app limits some of its plugins to the client environment to avoid them.

A CPU profile of that build shows that most of this cost comes from sending chunks back to Rust after a hook. When a generateBundle or writeBundle hook assigned any property of a chunk, collectChangedBundle sent the chunk back with all of its properties:

Vite's vite:css-post runs chunk.imports = chunk.imports.filter(...) on every chunk whenever a build has a pure CSS chunk, and most chunks end up with the same file names. So every chunk took this round trip. In that app's build, collectChangedBundle took 720 to 1,015 ms of main-thread time, 607 to 866 ms of it in chunk.map. Parsing those maps again in Rust adds more time, which a JavaScript profile does not show.

What

collectChangedBundle now sends back only the chunk properties that update_output_chunk applies (code, map, imports, dynamicImports, isEntry, fileName). Of those, it sends the ones that the plugin changed:

  • code only when it was assigned. A string the plugin read cannot have changed.
  • map when it was read or assigned, because a read map can be changed in place.
  • imports and dynamicImports when they were read or assigned and differ from Rust's array. This also catches changes made in place.
  • fileName and isEntry are always sent. They are cheap, and isEntry tells a chunk apart from an asset in Either<JsOutputChunk, JsOutputAsset>.

A chunk with no change is not sent at all. Rust keeps its data, and outputCodeCache keeps serving its code. JsOutputChunk now has only the applied fields, and every field except filename and isEntry is optional. update_output_chunk keeps any field that is left out. map: null still removes the map, with the same Option<Either<BindingSourcemap, Null>> pattern that renderChunk uses. Assets are unchanged.

Plugins should see no difference. Each change reaches the next hook and the written output as before, including changes made in place to a read imports array or map, map = null, renames, and deleted outputs.

Measured effect

Interleaved A/B on release builds (just build-rolldown-release): base is main at 30a5421, patched is this branch. Each run is a fresh Node process, and each pair alternates which build runs first. The workload is a generated project shaped like that app's client build: 2,182 chunks, 30 MB of minified JS, and 136 MB of hidden sourcemaps. It runs through rolldown() and write()/generate() with these plugins:

  • two generateBundle hooks that only read (moduleIds and imports of every chunk)
  • vite:css-post with 256 pure CSS chunks
  • vite:build-import-analysis, which reads every chunk's code and rewrites 528 chunks with their maps
  • vite:manifest
  • the vite:reporter writeBundle hook

The "generateBundle phase" column runs from the first generateBundle hook to a final no-op one, so it includes Rust applying each hook's changes.

run metric base median patched median change patched faster base IQR / stdev
1, generate() generateBundle phase 1,400 ms 798 ms −602 ms (−43.0%) 11/12 235 / 232 ms
1, generate() total 2,722 ms 2,028 ms −694 ms (−25.5%) 11/12 589 / 475 ms
2, generate() generateBundle phase 1,256 ms 752 ms −504 ms (−40.1%) 12/12 153 / 298 ms
2, generate() total 2,392 ms 1,862 ms −530 ms (−22.2%) 11/12 229 / 813 ms
3, write() generateBundle phase 1,036 ms 644 ms −392 ms (−37.8%) 10/10 223 / 157 ms
3, write() total 2,860 ms 2,269 ms −591 ms (−20.7%) 9/10 831 / 505 ms

The output files had the same hash in every run of both builds. Other jobs were running on this Mac during the runs (load average 10 to 24). That load caused the few lost pairs, and it makes the full range of the base times (up to 2.7 s) wider than the improvement.

In the app itself, I ran its production build (vite build --app) with each build copied in through packages/perf-kit/harness.mjs rolldown-install. CPU profiles of two rounds showed this main-thread time in the output-hook bridge:

base patched
collectChangedBundle 1,015 / 720 ms 39 / 28 ms
chunk.map getter 866 / 607 ms 97 / 86 ms
chunk.code getter 387 / 335 ms 189 / 156 ms

With hashes normalized, the patched output matched the base output in all 10,958 files except five. Those five also differ between two base builds: a script the app obfuscates anew on every build (with its map, for client and server) and the client manifest.

The bundle objects that each hook creates are not part of this change. createOutputBundle still spends 450 to 600 ms in that build.

Tests

  • packages/rolldown/tests/behaviors/output-bundle-changes.test.ts builds a small project through the public API. One test applies the vite:css-post pattern: it assigns every chunk's imports, rewrites the importers, and deletes the pure CSS chunk. The test checks that the next hook, writeBundle, the written files and the returned output see the new imports and code, the unread maps unchanged, and the deleted chunk gone. A second test checks that changes made in place to a read imports array and map, and map = null, reach the next hook and the output.
  • packages/rolldown/tests/utils/transform-to-rollup-output.test.ts runs transformToOutputBundle and collectChangedBundle on stand-ins for the native chunk that record which getters run. The tests check that a chunk assigned the values it had is not sent, that only changed properties are sent, and that no code, map or moduleIds is copied out of Rust unless the plugin read it. The behavior tests pass on main and on this branch. The unit tests use the new ChangedOutputs shape, so they cannot run against main. A scratch copy of the same scenario run against main's source showed the old behavior: the unchanged chunk was sent with all of its properties, and the maps, code and moduleIds were copied out of Rust.

Commands:

just build-rolldown && just build-rolldown-test-dev-server
just t-node-rolldown       # 1543 passed, 20 skipped; watcher 47 passed
just t-node-rollup         # 0 failed, 1268 passed
just test-rust             # all passed
just lint-rust && just lint-repo
just build-browser && just build-rolldown-debug   # regenerates rolldown-binding.wasi.d.cts
vp check && vp lint && vp run lint-publint && vp run lint-knip
vp run --filter rolldown-tests test:types

No internal-docs/ page covers the output-hook bridge, so this PR has no docs change. The reasons are in the comments on collectChunkChange and JsOutputChunk.

When a `generateBundle` or `writeBundle` hook assigned any property of a
chunk, the chunk went back to Rust with all of its properties. Rust
serialized the chunk's sourcemap, JavaScript parsed it, and Rust parsed
it again, and the code was copied both ways. Rust also replaced the
chunk data, so the next plugin that read `chunk.code` copied it again.
Vite's `vite:css-post` assigns `chunk.imports` of every chunk whenever a
build has a pure CSS chunk, so a large Vite build paid this for every
chunk.

`collectChangedBundle` now sends only the properties that
`update_output_chunk` applies, that the plugin read or assigned, and that
differ from Rust's values. It sends nothing for a chunk with no change.
`JsOutputChunk` keeps only the applied fields, all optional except
`filename` and `isEntry`, and Rust keeps every field that is left out.
Generated by `just build-browser`, as the Node Validation CI job does.
@anonrig
anonrig marked this pull request as ready for review November 4, 2026 15:55
@codspeed

codspeed Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 4 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing anonrig:perf/generate-bundle-send-changed-fields (b002cd8) with main (81d3a21)2

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (34d01e9) during the generation of this report, so 81d3a21 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@hyfdev hyfdev self-assigned this Nov 5, 2026
A `generateBundle` or `writeBundle` hook that assigns a non-string to `chunk.code`, or a non-array to `chunk.imports` or `chunk.dynamicImports`, now fails the build with an error that names the chunk and the property.
Rust reads a field set to `undefined` as unchanged, so a plugin bug such as `chunk.code = result?.code` kept the old code silently.
…k` field

`update_output_chunk` applies every field of `JsOutputChunk`, and `collectChunkChange` sends them by hand.
A field added on the Rust side now fails type-check in `collectChunkChange` until it is listed there.
@hyfdev

hyfdev commented Nov 6, 2026

Copy link
Copy Markdown
Member

I pushed two commits on top so that two mistakes fail loudly instead of being ignored:

  • Assigning a non-string to chunk.code, or a non-array to imports or dynamicImports, now throws a TypeError that names the chunk and the property. Rust reads undefined as unchanged, so chunk.code = result?.code would otherwise keep the old code silently.

  • A field added to JsOutputChunk fails type-check until collectChunkChange lists it.

Main rejects those assignments too, with Value is none of these types.

@hyfdev

hyfdev commented Nov 6, 2026

Copy link
Copy Markdown
Member

/ecosystem-ci run

@netlify

netlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit b002cd8
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6aed4c9b54ad1270d6a0bc6b
😎 Deploy Preview https://deploy-preview-11488--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@anonrig

anonrig commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

nice! thank you.

@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

@rolldown/browser

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/browser@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/browser@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/debug

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/debug@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/debug@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

rolldown

pnpm add https://pkg.pr.new/rolldown/rolldown@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown@11488 -D
yarn add https://pkg.pr.new/rolldown/[email protected] -D

@rolldown/binding-android-arm-eabi

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-android-arm-eabi@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-android-arm-eabi@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-android-arm64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-android-arm64@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-android-arm64@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-darwin-arm64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-arm64@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-arm64@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-darwin-x64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-x64@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-x64@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-freebsd-x64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-freebsd-x64@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-freebsd-x64@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-arm-gnueabihf

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm-gnueabihf@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm-gnueabihf@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-arm64-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-gnu@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-gnu@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-arm64-musl

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-musl@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-musl@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-ppc64-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-ppc64-gnu@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-ppc64-gnu@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-s390x-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-s390x-gnu@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-s390x-gnu@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-x64-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-gnu@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-gnu@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-x64-musl

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-musl@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-musl@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-openharmony-arm64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-openharmony-arm64@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-openharmony-arm64@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-wasm32-wasi

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-wasm32-wasi@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-wasm32-wasi@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-win32-arm64-msvc

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-arm64-msvc@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-arm64-msvc@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-win32-x64-msvc

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-x64-msvc@11488 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-x64-msvc@11488 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

commit: 4e957de

@vite-ecosystem-ci

Copy link
Copy Markdown

📝 Ran ecosystem CI with rolldown 4e957de on vite 4835128: Open

suite result latest scheduled
storybook ❌ failure ✅ success
vike ❌ failure ✅ success
vinext ❌ failure ✅ success
vite-plugin-vue ❌ failure ✅ success
nitro ❌ failure ✅ success
unocss ❌ failure ✅ success
vite-plugin-pwa ❌ failure ✅ success
qwik ❌ failure ❌ failure
quasar ❌ failure ✅ success
astro ❌ failure ✅ success
vite-plugin-cloudflare ❌ failure ✅ success
marko ❌ failure ✅ success
react-router ❌ failure ❌ failure
waku ❌ failure ✅ success
module-federation ❌ failure ✅ success
vitepress ❌ failure ✅ success
nuxt ❌ failure ✅ success
vite-plugin-svelte ❌ failure ✅ success
vite-plugin-rsc ❌ failure ❌ failure
vuepress ❌ failure ✅ success
laravel ❌ failure ✅ success
sveltekit ❌ failure ✅ success
vite-environment-examples ❌ failure ✅ success
netlify-vite-plugin ❌ failure ❌ failure
analogjs ❌ failure ✅ success
tanstack-start ❌ failure ⏹️ cancelled
vite-plugin-react ❌ failure ✅ success
vite-setup-catalogue ❌ failure ✅ success
vitest ❌ failure ✅ success

✅

@vite-ecosystem-ci

Copy link
Copy Markdown

📝 Ran ecosystem CI with rolldown 4e957de on vite rolldown-canary (79be51c): Open

suite result latest scheduled
vite-plugin-cloudflare ❌ failure ✅ success
vite-plugin-rsc ❌ failure ❌ failure
netlify-vite-plugin ❌ failure ❌ failure
tanstack-start ❌ failure ⏹️ cancelled
qwik ✅ success ❌ failure
react-router ❌ failure ❌ failure

✅ module-federation, marko, analogjs, astro, laravel, vite-plugin-svelte, quasar, vike, vinext, vitepress, storybook, nuxt, vite-plugin-pwa, sveltekit, unocss, nitro, waku, vuepress, vite-setup-catalogue, vite-plugin-react, vite-environment-examples, vitest, vite-plugin-vue

@hyfdev hyfdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hyfdev
hyfdev merged commit 07802dc into rolldown:main Nov 6, 2026
36 checks passed
This was referenced Nov 9, 2026
shulaoda added a commit that referenced this pull request Nov 9, 2026
## [1.3.1] - 2026-11-09

### 🚀 Features

- inline-common-chunks: inline chunks using `import.meta.ROLLDOWN_FILE_URL_*` (#11543) by @mattlewis92

### 🐛 Bug Fixes

- cli: apply --environment before loading the binding (#11553) by @Brooooooklyn
- rolldown_plugin_vite_resolve: escape module names in generated error stubs (#11584) by @sapphi-red
- add the code location to transform logs and errors at position 0 (#11568) by @chinmayajha
- match sticky regexes only at the start of the string (#11569) by @chinmayajha
- iife/umd: skip namespace markers when the entry has no exports (#11567) by @lazerg
- keep a declaration's name when it clashes with an external import (#11052) by @Nic-Polumeyv
- drop top-level statements made dead by imported constants before chunk linking (#11053) by @elliott-with-the-longest-name-on-github
- keep `this.resolve` custom options apart for overlapping calls (#11505) by @wan9chi
- transform: reuse TsconfigCache's answer when no tsconfig owns the file (#11265) by @sarankumar1325
- treat top-level `this` of a required module without module syntax as its exports (#11271) by @sarankumar1325
- keep side effects of a module whose exported constant is inlined (#11440) by @hyfdev
- leave same-chunk dynamic imports out of `dynamicImports` (#11156) by @kkkhs

### 🚜 Refactor

- prepend transferred imports as AST fragments (#11464) by @Dunqing

### 📚 Documentation

- show `vp` first in setup commands (#11503) by @IWANABETHATGUY

### ⚡ Performance

- incremental: reuse link-time facade symbols across rebuilds (#11542) by @mattlewis92
- incremental: share module sourcemap chains across cache clones (#11540) by @mattlewis92
- chunk_optimizer: answer runtime-merge reachability from one chunk-level graph (#11541) by @mattlewis92
- send only changed chunk properties back to Rust from output hooks (#11488) by @anonrig

### 🧪 Testing

- remove review fixtures committed by mistake in #11052 (#11574) by @hyfdev
- wasi: cover raw context destruction (#11561) by @Brooooooklyn

### ⚙️ Miscellaneous Tasks

- deps: update rust crates (#11573) by @renovate[bot]
- deps: update mimalloc-safe to 0.1.70 (#11589) by @shulaoda
- renovate: update GitHub Actions that are pinned to a commit (#11583) by @hyfdev
- skip Playwright browser downloads in Prepare Release (#11579) by @shulaoda
- pin the rolldown crates to exact versions of each other on release (#11577) by @shulaoda
- update `CodSpeedHQ/action` to v5.6.3 for Ubuntu 26.04 (#11575) by @hyfdev
- remove stale entries from `.typos.toml` (#11571) by @iiio2
- pick the Prepare Release target branch from the version (#11525) by @shulaoda
- run every OS on pushes to maintenance branches (#11520) by @shulaoda
- rebase maintenance Vite branches onto their Vite minor (#11515) by @shulaoda
- run CI on pushes to maintenance branches (#11516) by @shulaoda
- support patch releases from maintenance branches (#11393) by @shulaoda

### ❤️ New Contributors

* @chinmayajha made their first contribution in [#11568](#11568)
* @lazerg made their first contribution in [#11567](#11567)
* @elliott-with-the-longest-name-on-github made their first contribution in [#11053](#11053)
* @sarankumar1325 made their first contribution in [#11265](#11265)
* @anonrig made their first contribution in [#11488](#11488)
* @kkkhs made their first contribution in [#11156](#11156)

Co-authored-by: shulaoda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants