Avatar for the webpack user
webpack
webpack
BlogDocsChangelog

perf: reduce CPU and memory overhead of the HTML and CSS pipelines

#21332Merged
Comparing
perf/html-css-memory
(
9dc99c0
) with
main
(
e6fb547
)
CodSpeed Performance Gauge
-27%
Improvement
1
Regression
3
Untouched
140

Benchmarks

144 total
benchmark "asset-modules-source", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-63%
191 KB513.7 KB
benchmark "many-modules-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-38%
1.2 MB1.9 MB
benchmark "wasm-modules-async", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-21%
193.1 KB244.9 KB
benchmark "css-modules", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+57%
1,332.5 KB850.7 KB
benchmark "many-chunks-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-18%
7.3 MB9 MB
benchmark "many-chunks-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+18%
9.3 MB7.9 MB
benchmark "concatenate-modules", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-8%
320.6 ms346.7 ms
benchmark "context-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+7%
8.3 MB7.8 MB
benchmark "css-modules", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+5%
7.8 MB7.5 MB
benchmark "many-modules-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-5%
8.3 MB8.7 MB
benchmark "three-long", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-4%
3.2 s3.4 s
benchmark "cache-filesystem", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-4%
756.2 ms790.2 ms
benchmark "asset-modules-resource", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+4%
218.9 ms210.2 ms
benchmark "three-long", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-4%
3.1 s3.2 s
benchmark "context-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+4%
57.2 ms55.1 ms
benchmark "asset-modules-inline", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+4%
398.2 KB383.7 KB
benchmark "devtool-source-map", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+4%
6.5 MB6.3 MB
benchmark "react", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
156.1 ms161.6 ms
benchmark "future-defaults", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
7.8 MB7.6 MB
benchmark "asset-modules-inline", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
188.3 ms182.5 ms
benchmark "asset-modules-source", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
4.2 MB4.1 MB
benchmark "devtool-eval", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
6.4 MB6.6 MB
benchmark "css-modules", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
134.6 ms138.5 ms
benchmark "many-modules-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
291.4 ms283.7 ms
benchmark "wasm-modules-sync", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
432.7 ms422 ms

Commits

Click on a commit to change the comparison range
Base
main
e6fb547
+10.66%
perf: tokenizer-level micro-optimizations from line profiling both parsers
e8774d1
2 months ago
by alexander-akait
+76.57%
chore: drop dead initializer in LocConverter forward scan
25969c5
2 months ago
by alexander-akait
-45.85%
fix: bound LocConverter's forward scan and update export-entry test typings
c261a8e
2 months ago
by alexander-akait
+41.63%
Include type in sourceDependency templateContext contract
32d34bc
2 months ago
by alexander-akait
+15.21%
Condense new comments to repo length guideline
623cc90
2 months ago
by alexander-akait
-64.34%
Condense two more comments to repo length guideline
b5d2675
2 months ago
by alexander-akait
-35.6%
Shorten declarationStartLikely JSDoc summary
1ac7c16
2 months ago
by alexander-akait
+78.32%
Condense three more comments to repo length guideline
22ab12a
2 months ago
by alexander-akait
-48.02%
Condense SoA leaf-allocation comment
0db615a
2 months ago
by alexander-akait
-55.66%
Revalidate memoized inheritance chain against module fields
9dc99c0
2 months ago
by alexander-akait
© 2026 CodSpeed Technology
Home Terms Privacy Docs