Avatar for the webpack user
webpack
webpack-sources
BlogDocsChangelog

ci(benchmarks): align github actions permissions between the two benchmarks jobs

#229
Comparing
fargito:ci/align-github-permissions
(
f1871d3
) with
main
(
7ad6559
)
CodSpeed Performance Gauge
+4%
Improvement
14
Regression
7
Untouched
190

Benchmarks

211 total
replace-source memory: construct + 100 insertions
benchmark/memory/replace-source/index.bench.mjs
CodSpeed Performance Gauge
-83%
2.6 KB15.4 KB
clear-cache memory: shared modules (visited set — single allocation)
benchmark/memory/clear-cache/index.bench.mjs
CodSpeed Performance Gauge
-40%
392 B648 B
cached-source memory: getCachedData() allocates BufferedMap
benchmark/memory/cached-source/index.bench.mjs
CodSpeed Performance Gauge
-40%
392 B648 B
source-map-source memory: sourceAndMap({ columns: true }) (combined inner)
benchmark/memory/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
-26%
1.8 MB2.4 MB
compat-source memory: new CompatSource(sourceLike)
benchmark/memory/compat-source/index.bench.mjs
CodSpeed Performance Gauge
-25%
784 B1,040 B
clear-cache memory: unique tasks (clearCache default)
benchmark/memory/clear-cache/index.bench.mjs
CodSpeed Performance Gauge
-12%
3.2 MB3.6 MB
webpack-20961: warm + full clearCache() per chunk (most aggressive)
benchmark/memory/webpack-20961/index.bench.mjs
CodSpeed Performance Gauge
-11%
2.2 MB2.4 MB
original-source memory: map({ columns: true }) builds full mappings
benchmark/memory/original-source/index.bench.mjs
CodSpeed Performance Gauge
×2.2
1,909.6 KB886.7 KB
cached-source memory: construct from cachedData (no warm-up)
benchmark/memory/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+65%
648 B392 B
compat-source memory: CompatSource.from() short-circuits on Source
benchmark/memory/compat-source/index.bench.mjs
CodSpeed Performance Gauge
+65%
648 B392 B
source-map-source memory: new SourceMapSource(with inner map)
benchmark/memory/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
+63%
1,040 B640 B
original-source memory: sourceAndMap({ columns: true })
benchmark/memory/original-source/index.bench.mjs
CodSpeed Performance Gauge
+48%
2.1 MB1.5 MB
concat-source memory: new ConcatSource(...children)
benchmark/memory/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+39%
21.1 KB15.1 KB
webpack-20961: warm + clearCache({maps,source:false,parsedMap}) per chunk (PR #20963)
benchmark/memory/webpack-20961/index.bench.mjs
CodSpeed Performance Gauge
+38%
2.6 MB1.9 MB
concat-source memory: source() concatenates children
benchmark/memory/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+22%
356.1 KB291.7 KB
prefix-source memory: source() allocates rewritten string
benchmark/memory/prefix-source/index.bench.mjs
CodSpeed Performance Gauge
+22%
1.4 KB1.2 KB
webpack-20961: warm CHUNKS × MODULES, hold all live (baseline)
benchmark/memory/webpack-20961/index.bench.mjs
CodSpeed Performance Gauge
+21%
2.3 MB1.9 MB
source-map-source memory: map({ columns: true })
benchmark/memory/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
+16%
1,040 B896 B
source-map-source memory: new SourceMapSource(simple)
benchmark/memory/source-map-source/index.bench.mjs
CodSpeed Performance Gauge
+16%
1,040 B896 B
clear-cache memory: unique tasks (clearCache maps + parsedMap, keep source)
benchmark/memory/clear-cache/index.bench.mjs
CodSpeed Performance Gauge
+14%
4 MB3.5 MB
concat-source memory: map({ columns: true }) composes child maps
benchmark/memory/concat-source/index.bench.mjs
CodSpeed Performance Gauge
+10%
4.1 MB3.7 MB
clear-cache memory: unique tasks (no clearCache)
benchmark/memory/clear-cache/index.bench.mjs
CodSpeed Performance Gauge
+8%
4 MB3.7 MB
cached-source memory: cold sourceAndMap() populates all caches
benchmark/memory/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+4%
199.1 KB190.7 KB
cached-source: new CachedSource()
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
+4%
332.2 µs318.6 µs
cached-source: buffer() (cached)
benchmark/cases/cached-source/index.bench.mjs
CodSpeed Performance Gauge
0%
27.2 µs27.1 µs

Commits

Click on a commit to change the comparison range
Base
main
7ad6559
+3.92%
ci(benchmarks): align github actions permissions between the two benchmarks jobs
f1871d3
2 days ago
by fargito
© 2026 CodSpeed Technology
Home Terms Privacy Docs