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.
concat-source: add() x50
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
×3.6
432.3 µs
121 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: source() (cold)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
×3.4
634.2 µs
186.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: size()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
+29%
1.5 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/stringBufferUtils: enter/exit interning range
benchmark/cases/helpers-string-buffer-utils/index.bench.mjs
CodSpeed Performance Gauge
+25%
184.5 µs
147.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: size()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
+23%
1.6 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source-map-source: buffer()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
+15%
2.9 ms
2.6 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
N/A
N/A
21 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: buffer() (cold, wraps ConcatSource x10)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: buffers() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
20.7 µs
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
N/A
N/A
5.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: buffers() (warm, wraps ConcatSource x10)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
20.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: buffers() (10 raw)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
120.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: buffers() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
167.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: buffer() (nested 4x10 raw)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
8.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: buffers() (fallback via super)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
2.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: buffers() (nested 4x10 raw)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
210.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: cold buffer() (Cached->Concat->Cached->Concat)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: cold buffers() (Cached->Concat->Cached->Concat)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: warm buffer() (Cached->Concat->Cached->Concat)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
26.7 µ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
N/A
N/A
26.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compat-source: size() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-10%
155.9 µs
172.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: streamChunks() (columns on)
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
-9%
10.4 ms
11.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: size() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-9%
27.2 µs
29.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: map()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-9%
24.3 ms
26.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: sourceAndMap({columns:false})
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-9%
4 ms
4.4 ms
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