Avatar for the webpack user
webpack
webpack-sources
BlogDocsChangelog

feat: port performance fixes and ignoreList propagation from rspack-sources

#226
Comparing
claude/rspack-sources-perf-JEowh
(
33df884
) with
main
(
7ad6559
)
CodSpeed Performance Gauge
-15%
Improvement
7
Regression
64
Untouched
140

Benchmarks

211 total
size-only-source: size()
benchmark/cases/size-only-source/index.bench.mjs
CodSpeed Performance Gauge
-20%
154.6 µs194.4 µs
source-map-source: new (string map)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-20%
160.6 µs201.3 µs
source-map-source: new (buffer map)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-20%
160.4 µs201.1 µs
source-map-source: new (buffer value)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-20%
161 µs201.7 µs
source-map-source: new (object map)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-20%
161 µs201.5 µs
raw-source: sourceAndMap()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-20%
107.7 µs134.7 µs
raw-source: isBuffer()
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-19%
112.1 µs138.4 µs
source-map-source: buffers() (from buffer)
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-19%
175.4 µs216.7 µs
source-map-source: sourceAndMap()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-18%
192.6 µs234.6 µs
source-map-source: sourceAndMap({columns:false})
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-18%
192.9 µs234.7 µs
concat-source: size()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
196.9 µs237.5 µs
raw-source: source() cached
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
121.8 µs146.5 µs
replace-source memory: source() concatenates result
benchmark/memory/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
84.9 KB101.8 KB
helpers/stringBufferUtils: internString (enabled)
benchmark/cases/helpers-string-buffer-utils/index.bench.mjs
CodSpeed Performance Gauge
-16%
55.6 µs66.6 µs
replace-source: source() (no replacements)
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-16%
186.6 µs222.2 µs
cached-source: source() (cold)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-16%
172.4 µs205 µs
compat-source: map()
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-16%
167.5 µs198.9 µs
compat-source: size() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-15%
173.1 µs203.3 µs
source-map-source: source()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
246.7 µs287.5 µs
original-source: new OriginalSource(buffer)
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
74.5 µs86.5 µs
compat-source: buffers() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
168.8 µs195.8 µs
cached-source: originalLazy()
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
120.6 µs139.8 µs
original-source: new OriginalSource(string)
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
74.4 µs86.2 µs
source-map-source: map({columns:false})
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
263.6 µs305.2 µs
source-map-source: map()
benchmark/cases/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
263.2 µs304.5 µs

Commits

Click on a commit to change the comparison range
Base
main
7ad6559
-17.13%
feat: port performance fixes and ignoreList propagation from rspack-sources
16f8fc2
1 day ago
by claude
+3.62%
perf: eliminate per-call closure + hidden-class churn from rspack-sources port
e49f79c
1 day ago
by claude
+25.02%
refactor: route per-source extras off onSource onto an options side-channel
3107f43
1 day ago
by claude
-22.24%
chore: collapse package.json arrays to single-line per prettier rule
023615a
1 day ago
by claude
-15.62%
test: cover the new ignoreList/originalLines paths
222fea5
1 day ago
by claude
+24.33%
test: cover combined source-map onSourceInfo remap branches
01722ec
1 day ago
by claude
-9.92%
revert: strip ignoreList/debugId/sourceRoot propagation feature
5bfda14
1 day ago
by claude
-0.45%
test: cover ReplaceSource empty-replacement + column-tracking branches
c971353
1 day ago
by claude
-1.55%
test: mark unreachable V8<7.0 stable-sort fallback with istanbul ignore
185df9f
1 day ago
by claude
+26.89%
revert: strip OriginalSource + ReplaceSource changes for clean A/B test
ee1a250
13 hours ago
by claude
-32.83%
chore: regenerate types.d.ts after OriginalSource revert
a38b924
13 hours ago
by claude
+7.93%
test: add ReplaceSource tests for trailing inserts, empty replacement, column tracking
3908b55
13 hours ago
by claude
+19.88%
test: cover ReplaceSource multi-source streamChunks path
0cf4d54
13 hours ago
by claude
+22.34%
chore: satisfy prefer-destructuring lint rule in ReplaceSource test
2d5a7ea
13 hours ago
by claude
-17.62%
perf(getFromStreamChunks): keep setAtIndex PACKED to fix combined-inner regression
c897cfc
12 hours ago
by claude
-26.93%
revert(getFromStreamChunks): drop setAtIndex helper, keep inline padding
25e1418
12 hours ago
by claude
+5.26%
perf: re-layer ReplaceSource fast paths + OriginalSource.originalLines + setAtIndex
33508f4
11 hours ago
by claude
-0.23%
test+chore: cover originalLines(), simplify setAtIndex, istanbul-ignore V8 fallback
c47755e
11 hours ago
by claude
+2.14%
chore: istanbul-ignore pre-existing ReplaceSource chunk-skipping edges
4614799
11 hours ago
by claude
-4.23%
test: convert remaining /* istanbul ignore next */ to ignore-else
23e0966
11 hours ago
by claude
-3.49%
test: cover in-chunk multi-line replacement + trailing-remainer same-line cases
f4384e9
11 hours ago
by claude
+0.31%
chore: satisfy no-lonely-if eslint rule from the chunk-skipping refactor
33df884
11 hours ago
by claude
© 2026 CodSpeed Technology
Home Terms Privacy Docs