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
(
ee2509e
) with
main
(
23425e2
)
CodSpeed Performance Gauge
0%
Untouched
18
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
18 total
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%
25.4 ms
25.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
0%
204.4 ms
204 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
0%
5.6 ms
5.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%
226.4 ms
226.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
0%
8.1 ms
8.1 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.1 ms
5.1 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%
172.6 ms
172.8 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
0%
152.8 ms
152.9 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.8 ms
6.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.9 ms
8.9 ms
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%
578 ms
580.4 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
-1%
577.6 ms
580.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
-1%
1.1 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
-1%
3.6 s
3.6 s
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%
24.9 ms
25.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
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
-1%
8.6 s
8.7 s
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
-2%
8.4 s
8.6 s
Commits
Click on a commit to change the comparison range
Base
main
23425e2
+0.01%
chore: update branch
dcd4df8
1 month ago
by leekeh
0%
feat: implement always to run middleware during prerender
2f13ae9
1 month ago
by leekeh
-0.26%
feat: initial implementation for node
5d11f3d
27 days ago
by leekeh
-0.01%
fix: some issues
721080b
2 days ago
by leekeh
-0.13%
fix: some issues
ee2509e
2 days ago
by leekeh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs