withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: add the `experimental.optimizeShiki` option to reduce the bundle size of `<Code />` components
#15678
Comparing
rururux:shiki-optimize-bundle-size
(
889dae6
) with
main
(
830a267
)
CodSpeed Performance Gauge
+11%
Improvement
1
Untouched
17
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
18 total
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
+11%
8.8 s
7.9 s
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
+1%
196.1 ms
195.1 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%
591.7 ms
590 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%
570.5 ms
569.2 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%
149.5 ms
149.4 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.
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.
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.
many-components (markHTMLString, isHTMLString, validateProps)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
0%
8.6 ms
8.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.
large-array (BufferedRenderer per child)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
0%
159.2 ms
159.2 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.4 ms
23.4 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.
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.
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 server site
benchmark/bench/build-server.bench.js::Bench build time
CodSpeed Performance Gauge
0%
8.5 s
8.6 s
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.7 s
3.7 s
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
-1%
213.5 ms
214.8 ms
Commits
Click on a commit to change the comparison range
Base
main
830a267
-0.04%
suppress dev logs and add bundle optimization tests
193f41f
3 days ago
by rururux
+10.3%
Merge branch 'main' into shiki-optimize-bundle-size
e7fd26e
1 day ago
by rururux
+0.95%
remove redundant selector for 'pre'
889dae6
21 hours ago
by rururux
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs