perf(runtime): reduce server-side render allocations - #17857
Draft
Princesseuh wants to merge 31 commits into
Draft
perf(runtime): reduce server-side render allocations#17857Princesseuh wants to merge 31 commits into
Princesseuh wants to merge 31 commits into
Conversation
🦋 Changeset detectedLatest commit: 37492e0 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Merging this PR will improve performance by 37.11%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | large-array (BufferedRenderer per child) |
190.1 ms | 113 ms | +68.28% |
| ⚡ | large-array [streaming] |
167.8 ms | 104.4 ms | +60.74% |
| ⚡ | many-slots (eager slot prerendering) |
6.6 ms | 4.2 ms | +56.56% |
| ⚡ | many-components [streaming] |
8.2 ms | 5.4 ms | +52.6% |
| ⚡ | many-components (markHTMLString, isHTMLString, validateProps) |
9.6 ms | 7.1 ms | +34.4% |
| ⚡ | Rendering: streaming [true], .astro file |
208.7 ms | 157.2 ms | +32.82% |
| ⚡ | Rendering: streaming [false], .astro file |
199.7 ms | 168.3 ms | +18.67% |
| ⚡ | many-expressions [streaming] |
13.7 ms | 12.2 ms | +12.32% |
| ⚡ | many-expressions (renderChild dispatch, escapeHTML) |
15 ms | 13.5 ms | +11.36% |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing perf/server-render-allocations (37492e0) with main (0389640)1
Footnotes
Princesseuh
force-pushed
the
perf/server-render-allocations
branch
5 times, most recently
from
September 2, 2026 20:19
de5b6eb to
400137f
Compare
Princesseuh
force-pushed
the
perf/server-render-allocations
branch
from
September 3, 2026 17:30
400137f to
e609ba6
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.
No description provided.