Skip to content

perf: SSR rendering optimizations#15605

Merged
ascorbic merged 4 commits into
mainfrom
bench/rendering-perf
Feb 23, 2026
Merged

perf: SSR rendering optimizations#15605
ascorbic merged 4 commits into
mainfrom
bench/rendering-perf

Changes from review

4050a6d
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Feb 23, 2026

Performance Gate Passed

⚡ 2 improved benchmarks
✅ 7 untouched benchmarks
🆕 9 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation Rendering: streaming [true], .astro file 348.3 ms 214.7 ms +62.21%
Simulation Rendering: streaming [false], .astro file 337.7 ms 195.4 ms +72.83%
🆕 Simulation many-components (markHTMLString, isHTMLString, validateProps) N/A 8.7 ms N/A
🆕 Simulation large-array (BufferedRenderer per child) N/A 159.1 ms N/A
🆕 Simulation many-expressions (renderChild dispatch, escapeHTML) N/A 23.7 ms N/A
🆕 Simulation static-heavy (markHTMLString baseline) N/A 6 ms N/A
🆕 Simulation many-expressions [streaming] N/A 23.5 ms N/A
🆕 Simulation many-slots (eager slot prerendering) N/A 5.3 ms N/A
🆕 Simulation many-components [streaming] N/A 7.9 ms N/A
🆕 Simulation large-array [streaming] N/A 148.9 ms N/A
🆕 Simulation many-head-elements (head dedup) N/A 5 ms N/A

Comparing bench/rendering-perf (4050a6d) with main (999a7dd)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (1cc62dc) during the generation of this report, so 999a7dd was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.