withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize streaming SSR buffer management
#15620
Closed
Comparing
perf/render-buffer-optimization
(
ac373ca
) with
main
(
35bc814
)
CodSpeed Performance Gauge
-1%
Untouched
18
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
18 total
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
+1%
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
0%
1.1 ms
1.1 ms
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%
573.6 ms
572.2 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
0%
23.6 ms
23.6 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
0%
3.6 s
3.6 s
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
0%
5 ms
5 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
0%
8.7 ms
8.7 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.
many-slots (eager slot prerendering)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
0%
5.3 ms
5.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
0%
6 ms
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
0%
158.9 ms
159 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
0%
7.9 ms
7.9 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%
7.7 s
7.7 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
0%
571.8 ms
573.4 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
-1%
23.4 ms
23.7 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
-5%
148.9 ms
156.3 ms
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
-8%
194.7 ms
211.7 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
-10%
213.4 ms
236.2 ms
Commits
Click on a commit to change the comparison range
Base
main
35bc814
-1.29%
perf: optimize buffer management in renderToAsyncIterable for streaming SSR
ac373ca
3 months ago
by ascorbic
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs