webpack
webpack-sources
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
feat: add buffers() method returning Buffer[]
#204
Merged
Comparing
claude/fix-issue-157-f18u4
(
c0d8294
) with
main
(
58420d1
)
CodSpeed Performance Gauge
-96%
Improvement
7
Regression
74
Untouched
66
New
14
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
New
Untouched
161 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: source() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-96%
19.8 µs
552.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: replace() x1000
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-84%
103.6 µs
637.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: original()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-84%
20.8 µs
126.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: insert() x1000
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-84%
102.7 µs
623.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: source() cached
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-83%
20.6 µs
123.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: isBuffer()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-82%
20.1 µs
113.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: getName()
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-82%
19.9 µs
111.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: originalLazy()
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-81%
22.9 µs
123 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: sourceAndMap() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-76%
278.1 µs
1,182.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: getReplacements()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-72%
347 µs
1,257.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: source() (no replacements)
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-71%
56 µs
191.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: map({columns:false})
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-69%
83.9 µs
270.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: map()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-69%
83.9 µs
270 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: map() (cold SourceMapSource)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-69%
54.2 µs
172.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: source()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-67%
83.6 µs
253.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: getChildren()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-66%
40.7 µs
119.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: sourceAndMap({columns:false})
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-64%
70.4 µs
197.9 µ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
-63%
48.6 µs
132.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: source() (small, 1 replacement)
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-63%
170.7 µs
459 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: new (object map)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-63%
62 µs
166.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: new (string map)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-63%
61.9 µs
165.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: new (buffer map)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-63%
61.9 µs
165.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: new (buffer value)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-63%
62.1 µs
166.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: new ReplaceSource()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-62%
53.6 µs
142.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: sourceAndMap()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-58%
82.3 µs
197.8 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
58420d1
-16.26%
bench: add buffers() benchmarks
bb67759
5 months ago
by claude
-80.17%
bench: stabilise CodSpeed measurements
c0d8294
5 months ago
by claude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs