withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: SSR rendering optimizations
#15605
Comparing
bench/rendering-perf
(
6d6424b
) with
main
(
b30a2c4
)
CodSpeed Performance Gauge
+74%
Improvement
2
Untouched
7
New
9
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
New
Untouched
18 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Rendering: streaming [false], .astro file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
+74%
337.6 ms
194.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Rendering: streaming [true], .astro file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
+64%
348.3 ms
212.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
many-slots (eager slot prerendering)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
N/A
N/A
5.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
large-array [streaming]
benchmark/bench/rendering-perf.bench.js::Rendering perf (streaming)
CodSpeed Performance Gauge
N/A
N/A
149.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
static-heavy (markHTMLString baseline)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
N/A
N/A
6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
large-array (BufferedRenderer per child)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
N/A
N/A
159 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
many-components (markHTMLString, isHTMLString, validateProps)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
N/A
N/A
8.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
many-expressions (renderChild dispatch, escapeHTML)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
N/A
N/A
23.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
many-expressions [streaming]
benchmark/bench/rendering-perf.bench.js::Rendering perf (streaming)
CodSpeed Performance Gauge
N/A
N/A
23.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
many-components [streaming]
benchmark/bench/rendering-perf.bench.js::Rendering perf (streaming)
CodSpeed Performance Gauge
N/A
N/A
7.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
many-head-elements (head dedup)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
N/A
N/A
5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Rendering: streaming [false], .md file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
+3%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Rendering: streaming [true], .md file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
+2%
1.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Build: full static site
benchmark/bench/build-static.bench.js::Bench build time
CodSpeed Performance Gauge
+2%
3.5 s
3.5 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Rendering: streaming [false], .mdx file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
+1%
573.5 ms
570.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Build: full server site
benchmark/bench/build-server.bench.js::Bench build time
CodSpeed Performance Gauge
0%
8.4 s
8.4 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Rendering: streaming [true], .mdx file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
575.3 ms
574 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Build: hybrid site (static + server)
benchmark/bench/build-hybrid.bench.js::Bench build time
CodSpeed Performance Gauge
0%
8.5 s
8.5 s
Commits
Click on a commit to change the comparison range
Base
main
b30a2c4
-0.01%
bench: add targeted rendering performance benchmarks
7325c51
1 day ago
by ascorbic
+73.42%
perf: rendering optimizations (A+B+C+E+F, no WeakMap cache)
99e4c80
23 hours ago
by ascorbic
+0.13%
chore: add changeset for rendering perf optimizations
6d6424b
23 hours ago
by ascorbic
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs