webpack
webpack-sources
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
bench: stabilize prefix-source getPrefix() and original() cases
#207
Merged
Comparing
claude/stabilize-prefix-source-bench
(
939f579
) with
main
(
adf17ec
)
CodSpeed Performance Gauge
-98%
Improvement
2
Regression
2
Untouched
157
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
161 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: original()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-98%
121 µs
6,785.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: getPrefix()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-98%
120.7 µs
6,646.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: source() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+20%
666.5 µs
553.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: new CachedSource()
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+13%
367.7 µs
326.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: size() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+2%
30.4 µs
29.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: getReplacements()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-1%
1.2 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: buffers() (cold, wraps ConcatSource x10)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
5.2 ms
5.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: warm sourceAndMap() (reuse CachedSource)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
-1%
79.8 µs
80.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size-only-source: map() (throws)
benchmark/cases/size-only-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.9 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size-only-source: buffer() (throws)
benchmark/cases/size-only-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: updateHash() (fallback)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-1%
6 ms
6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size-only-source: source() (throws)
benchmark/cases/size-only-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: buffer() (warm, wraps ConcatSource x10)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-1%
20.9 µs
21.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: warm buffers() (Cached->Concat->Cached->Concat)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
-1%
26.6 µs
26.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: buffer() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
27.4 µs
27.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: new RawSource(buffer, true)
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
83.7 µs
83.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/stringBufferUtils: internString (disabled)
benchmark/cases/helpers-string-buffer-utils/index.bench.mjs
CodSpeed Performance Gauge
-1%
24.5 µs
24.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: source() (string)
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
93.4 µs
92.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: addAllSkipOptimizing()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
116.8 µs
116.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: getChildren()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
120.1 µs
119.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: nested flattening
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
729.2 µs
725.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: map()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
91.8 µs
91.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: new RawSource(string)
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
86 µs
85.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: source() (mixed)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
132.9 µs
132.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: add() x50
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+1%
121.5 µs
120.9 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
adf17ec
-98.22%
bench: stabilize prefix-source getPrefix() and original() cases
939f579
5 months ago
by claude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs