webpack
webpack
BlogDocsChangelog

fix: replace inactive harmony import specifiers with undefined to avoid global reference (#20151)

#20276Closed
Comparing
samarthsinh2660:fix/20151-esm-unused-func-global-ref
(
75e3c82
) with
main
(
d2a124d
)
CodSpeed Performance Gauge
+1%
Untouched
72

Benchmarks

Passed

benchmark "context-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+12%
186 ms*166.6 ms
benchmark "three-long", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+11%
2.9 s2.6 s
benchmark "asset-modules-resource", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+10%
64.7 ms59 ms
benchmark "context-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+10%
39 ms*35.6 ms
benchmark "asset-modules-bytes", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+9%
38.8 ms35.5 ms
benchmark "asset-modules-source", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+8%
118.2 ms109.3 ms
benchmark "cache-filesystem", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+8%
1.3 s1.2 s
benchmark "cache-filesystem", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+8%
901.5 ms836.5 ms
benchmark "three-long", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+8%
2.9 s2.7 s
benchmark "json-modules", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+7%
36.5 ms34.1 ms
benchmark "many-modules-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+7%
41.9 ms39.1 ms
benchmark "many-chunks-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+6%
49.9 ms47 ms
benchmark "asset-modules-inline", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+6%
52.5 ms49.6 ms
benchmark "wasm-modules-async", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+6%
56.9 ms53.9 ms
benchmark "asset-modules-resource", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+6%
199.8 ms189.3 ms
benchmark "css-modules", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+5%
50.5 ms*48.1 ms
benchmark "json-modules", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+5%
128.9 ms122.8 ms
benchmark "lodash", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+5%
523 ms498.8 ms
benchmark "many-modules-commonjs", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
259.5 ms251.5 ms
benchmark "concatenate-modules", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
67.4 ms*65.3 ms
benchmark "many-chunks-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
49.2 ms47.9 ms
benchmark "future-defaults", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+3%
39.4 ms38.4 ms
benchmark "three-long", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
162.7 ms159.2 ms
benchmark "many-chunks-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
2 s2 s
benchmark "devtool-eval-source-map", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
34.3 ms*33.7 ms
benchmark "wasm-modules-async", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
179.5 ms176.5 ms
benchmark "many-chunks-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
211.6 ms208.1 ms
benchmark "concatenate-modules", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
257.8 ms*253.6 ms
benchmark "asset-modules-inline", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+2%
769.3 ms757.8 ms
benchmark "asset-modules-source", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
34.1 ms33.7 ms
benchmark "wasm-modules-sync", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
1.4 s1.4 s
benchmark "wasm-modules-sync", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
55.2 ms54.7 ms
benchmark "many-modules-esm", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
260.7 ms259 ms
benchmark "devtool-eval", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
+1%
33.6 ms*33.5 ms
benchmark "devtool-eval", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
993.7 ms*989.4 ms
benchmark "lodash", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
32.1 ms31.9 ms
benchmark "side-effects-reexport", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
451.5 ms450.4 ms
benchmark "lodash", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
4.8 s4.8 s
benchmark "many-modules-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
1.8 s1.8 s
benchmark "asset-modules-bytes", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
485 ms485.2 ms
benchmark "react", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
742.9 ms743.4 ms
benchmark "asset-modules-source", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
421.3 ms421.9 ms
benchmark "future-defaults", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
2.1 s2.1 s
benchmark "many-modules-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
2 s2 s
benchmark "css-modules", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
0%
142.8 ms*143.3 ms
benchmark "wasm-modules-async", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
920.7 ms926 ms
benchmark "css-modules", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
1.3 s*1.3 s
benchmark "future-defaults", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
266.6 ms268.8 ms
benchmark "side-effects-reexport", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
1.9 s1.9 s
benchmark "devtool-eval-source-map", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
1.1 s*1.1 s
benchmark "json-modules", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
501.7 ms506.2 ms
benchmark "devtool-source-map", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
1.5 s1.5 s
benchmark "side-effects-reexport", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
1.9 s1.9 s
benchmark "context-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
690.1 ms*697 ms
benchmark "many-modules-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
42.4 ms42.9 ms
benchmark "devtool-eval", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-1%
203.3 ms*206 ms
benchmark "concatenate-modules", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-2%
591.3 ms*602.8 ms
benchmark "many-chunks-commonjs", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-2%
1.7 s1.7 s
benchmark "cache-filesystem", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-2%
156.4 ms159.7 ms
benchmark "asset-modules-resource", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-2%
836.5 ms856.6 ms
benchmark "asset-modules-bytes", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
108.7 ms111.5 ms
benchmark "devtool-eval-source-map", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-3%
211.6 ms*218.7 ms
benchmark "react", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-4%
29.3 ms30.4 ms
benchmark "context-commonjs", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-5%
146.8 ms*154.5 ms
benchmark "wasm-modules-sync", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-5%
380.1 ms401 ms
benchmark "devtool-source-map", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-5%
34.4 ms36.4 ms
benchmark "many-chunks-commonjs", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-5%
209.8 ms221.9 ms
benchmark "asset-modules-inline", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-6%
168.9 ms180 ms
benchmark "context-esm", scenario '{"name":"mode-production","mode":"production"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-6%
2.7 s*2.9 s
benchmark "context-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-7%
53.8 ms*57.9 ms
benchmark "react", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-8%
169.1 ms183 ms
benchmark "devtool-source-map", scenario '{"name":"mode-development","mode":"development"}'
test/BenchmarkTestCases.benchmark.mjs
CodSpeed Performance Gauge
-8%
220.5 ms239.1 ms

Commits

Click on a commit to change the comparison range
Base
main
d2a124d
+0.93%
fix: replace inactive harmony import specifiers with undefined to avoid global reference (#20151)
a55e827
20 days ago
by samarthsinh2660
+0.08%
refactor: use variable declaration for inactive harmony imports instead of inline undefined
75e3c82
11 days ago
by samarthsinh2660
© 2026 CodSpeed Technology
Home Terms Privacy Docs