withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: create new middleware modes `"always"` and `"on-request"`
#15686
Comparing
leekeh:feat/step-2
(
2f13ae9
) with
main
(
6328f1a
)
CodSpeed Performance Gauge
0%
Untouched
18
No successful run was found on
main
(
e9e3cce
) during the generation of this report, so
6328f1a
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
18 total
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%
585.4 ms
582.7 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.1 ms
571.8 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.6 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.7 s
8.7 s
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
0%
145.9 ms
145.8 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.1 s
8.1 s
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: full static site
benchmark/bench/build-static.bench.js::Bench build time
CodSpeed Performance Gauge
0%
3.8 s
3.8 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.4 ms
5.4 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.7 ms
23.7 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.4 ms
158.4 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.
Rendering: streaming [true], .astro file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
219.3 ms
219.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
0%
23.6 ms
23.6 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
0%
5.2 ms
5.2 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
0%
194.3 ms
194.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
0%
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
-1%
1.2 ms
1.2 ms
Commits
Click on a commit to change the comparison range
Base
main
6328f1a
+0.01%
chore: update branch
dcd4df8
15 hours ago
by leekeh
0%
feat: implement always to run middleware during prerender
2f13ae9
14 hours ago
by leekeh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs