Turbopack: reduce hmr chunk list subscriptions#94062
Merged
wbinnssmith merged 4 commits intoMay 29, 2026
Merged
Conversation
wbinnssmith
commented
May 23, 2026
Contributor
Tests PassedCommit: a483b67 |
sokra
reviewed
May 26, 2026
sokra
reviewed
May 26, 2026
sokra
reviewed
May 26, 2026
9560751 to
c79c2d6
Compare
Contributor
Stats skippedCommit: a483b67 |
c79c2d6 to
21af9e8
Compare
99aeb0d to
6b4c7e5
Compare
21af9e8 to
2d4b4f3
Compare
6b4c7e5 to
7cad598
Compare
63afe13 to
cdc75f1
Compare
7cad598 to
554bdfa
Compare
409cf9c to
0caa23a
Compare
d6241a6 to
019b601
Compare
6b4d5ac to
c4b26d1
Compare
019b601 to
b9c71c2
Compare
6b4d5ac to
b46ae83
Compare
sokra
reviewed
May 28, 2026
sokra
reviewed
May 28, 2026
sokra
reviewed
May 28, 2026
sokra
reviewed
May 28, 2026
sokra
reviewed
May 28, 2026
sokra
reviewed
May 28, 2026
b9c7ab7 to
75760c2
Compare
b9c71c2 to
92ab975
Compare
75760c2 to
1f37615
Compare
92ab975 to
09e120d
Compare
c4c12c5 to
4768053
Compare
lukesandberg
approved these changes
May 29, 2026
4768053 to
7f87209
Compare
09e120d to
225c7ab
Compare
This adds the chunk's file path to the span as metadata.
…references Each chunk_group call for RSC client references previously generated a Dynamic EcmascriptDevChunkList, creating one subscription per client component group. Remove the Dynamic chunk list from chunk_group and pass client reference chunks as extra_chunks to evaluated_chunk_group, merging them into the single Entry chunk list the browser already subscribes to.
7f87209 to
a483b67
Compare
225c7ab to
d14ac12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, we created chunk list register chunks for every reachable chunk in the chunk graph on a page. Now, we only create one that subscribes to all recursively reachable assets.
This has to pass around an explicit list of client references chunks as those cannot be discovered via the chunk graph alone.
This results in a significant performance improvement when loading pages with the dev server, improving performance of a 60s cold build in a large app by about 10s.