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.
original-source: streamChunks({finalSource:true})
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-22%
7.9 ms
10.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: sourceAndMap()
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-21%
186.2 µs
236.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: streamChunks() (big source)
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-21%
24.1 ms
30.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: streamChunks()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-18%
5 ms
6.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: streamChunks() (mixed)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
10.9 ms
13.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: streamChunks({finalSource:true})
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
10.8 ms
13.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: streamChunks() (1000 replacements)
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
47.1 ms
54.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: source() (wrapping SourceLike)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
134.2 µs
153.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: streamChunks() (columns off)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
-13%
6.1 ms
7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: wraps OriginalSource
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
30.8 ms
35.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: streamChunks() (cold)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
8.8 ms
10 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: sourceAndMap() (cold)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
17 ms
19.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: sourceAndMap()
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
17 ms
19.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: map() (no replacements)
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
16.9 ms
19.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: map()
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
16.9 ms
19.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: sourceAndMap()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
9.5 ms
10.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: getPrefix()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
106.5 µs
119.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: getCachedData() then restore
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
18.3 ms
20.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: map({columns:false})
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
4 ms
4.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: map()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
19.6 ms
22 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: map()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
9.5 ms
10.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: original()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
107.3 µs
120.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: buffer() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
152.2 µs
170.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: sourceAndMap()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
19.6 ms
21.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: sourceAndMap()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
×3.6
404 µs
111.2 µ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