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
(
f8a69e5
) with
main
(
7ad6559
)
CodSpeed Performance Gauge
-7%
Improvement
7
Regression
49
Untouched
155

Benchmarks

211 total
concat-source: size()
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
196.9 µs237.3 µs
raw-source: source() cached
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
121.8 µs146.3 µs
cached-source: source() (cold)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-17%
172.4 µs206.7 µs
helpers/stringBufferUtils: internString (enabled)
benchmark/cases/helpers-string-buffer-utils/index.bench.mjs
CodSpeed Performance Gauge
-16%
55.6 µs66.5 µs
replace-source: source() (no replacements)
benchmark/cases/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-16%
186.6 µs222.1 µ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.2 µs
compat-source: buffers() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
168.8 µs195.9 µs
cached-source: originalLazy()
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
120.6 µs139.9 µs
original-source: new OriginalSource(buffer)
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
74.5 µs86.4 µs
original-source: new OriginalSource(string)
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-14%
74.4 µs86.2 µs
compat-source: source() (wrapping SourceLike)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
154.6 µs178.4 µs
concat-source: new ConcatSource() (10 raw)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
232.9 µs267.9 µs
raw-source: buffers() cached
benchmark/cases/raw-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
171.4 µs197.1 µs
original-source: source()
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
82 µs94.2 µs
cached-source memory: construct from cachedData (no warm-up)
benchmark/memory/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
648 B744 B
prefix-source: new PrefixSource(str, Source)
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
122.2 µs140.2 µs
compat-source: buffer() (delegated)
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
171.1 µs196.1 µs
original-source: buffers() (from buffer)
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
89 µs102.1 µs
prefix-source: new PrefixSource(str, string)
benchmark/cases/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
-13%
122.6 µs140.3 µs
original-source memory: new OriginalSource()
benchmark/memory/original-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
1.3 KB1.4 KB
compat-source: sourceAndMap()
benchmark/cases/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
237.6 µs269.6 µs
concat-source: new ConcatSource() (strings)
benchmark/cases/concat-source/index.bench.mjs
CodSpeed Performance Gauge
-12%
265.5 µs300.6 µs
original-source: getName()
benchmark/cases/original-source/index.bench.mjs
CodSpeed Performance Gauge
-11%
109 µs122.2 µs
replace-source memory: source() concatenates result
benchmark/memory/replace-source/index.bench.mjs
CodSpeed Performance Gauge
×31
84.9 KB2.7 KB

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