webpack
webpack-sources
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix: improve performance in many places
#199
Comparing
fix-perf
(
3a5fb5d
) with
main
(
5a07869
)
CodSpeed Performance Gauge
-17%
Improvement
38
Regression
2
Untouched
107
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
147 total
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
-17%
2.4 ms
2.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached-source: new CachedSource()
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
301.8 µs
342.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/splitIntoLines: long lines
benchmark/cases/helpers-split-into-lines/index.bench.mjs
CodSpeed Performance Gauge
×210
425.9 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/getGeneratedSourceInfo: big source
benchmark/cases/helpers-get-generated-source-info/index.bench.mjs
CodSpeed Performance Gauge
×4.4
9.2 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/splitIntoLines: empty
benchmark/cases/helpers-split-into-lines/index.bench.mjs
CodSpeed Performance Gauge
×3.7
326.9 µs
88.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/getGeneratedSourceInfo: fixture
benchmark/cases/helpers-get-generated-source-info/index.bench.mjs
CodSpeed Performance Gauge
×3.1
30.3 ms
9.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: streamChunks({finalSource:true})
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
×3.1
6.1 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: streamChunks({columns:false})
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
×2.6
5.3 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: streamChunks()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
×2.6
10.5 ms
4.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: streamChunks({finalSource:true,columns:false})
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
×2.4
3.5 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/splitIntoLines: big source
benchmark/cases/helpers-split-into-lines/index.bench.mjs
CodSpeed Performance Gauge
×2.3
10.9 ms
4.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
original-source: size()
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
×2.2
2.4 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: getReplacements()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
+96%
681.7 µs
347.2 µs
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
+79%
7.1 ms
4 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
+77%
7.1 ms
4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat-source: size()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+75%
205.7 µs
117.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
helpers/splitIntoLines: fixture
benchmark/cases/helpers-split-into-lines/index.bench.mjs
CodSpeed Performance Gauge
+73%
41.2 ms
23.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
raw-source: size()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
+56%
2.4 ms
1.5 ms
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
+56%
2.4 ms
1.6 ms
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
+36%
8.2 ms
6.1 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
+31%
11.5 ms
8.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: sourceAndMap()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
+28%
12.2 ms
9.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix-source: map()
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
+27%
12.2 ms
9.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
replace-source: map()
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
+24%
30.2 ms
24.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-source-map-pipeline: cold map() only
benchmark/cases/realistic-source-map-pipeline/index.bench.mjs
CodSpeed Performance Gauge
+22%
17.6 ms
14.4 ms
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
5a07869
-17.42%
fix: improve performance in many places
3a5fb5d
8 hours ago
by alexander-akait
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs