webpack
enhanced-resolve
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(alias): avoid per-resolve split("*") in AliasUtils scan
#529
Merged
Comparing
claude/add-performance-benchmarks-d00HP
(
285bcb4
) with
main
(
6637632
)
CodSpeed Performance Gauge
+55%
Improvement
5
Untouched
50
New
1
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
New
Untouched
56 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
stack-churn: 4x60 alias chains, 20 resolves
benchmark/cases/stack-churn/index.bench.mjs
CodSpeed Performance Gauge
+55%
161.2 ms
103.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
pathological-deep-stack: alias chain of 50 (warm)
benchmark/cases/pathological-deep-stack/index.bench.mjs
CodSpeed Performance Gauge
+28%
24.5 ms
19.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
multiple-modules: shared + vendor + node_modules (warm)
benchmark/cases/multiple-modules/index.bench.mjs
CodSpeed Performance Gauge
+25%
1.7 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
large-alias-list: 50+8 aliases, match near end
benchmark/cases/large-alias-list/index.bench.mjs
CodSpeed Performance Gauge
+24%
2.7 ms
2.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
deep-hierarchy: bare specifier from 10-deep dir (warm)
benchmark/cases/deep-hierarchy/index.bench.mjs
CodSpeed Performance Gauge
+21%
2.9 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
alias-wildcard-scan: 100+1 wildcard + 1 exact
benchmark/cases/alias-wildcard-scan/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
3.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
alias-realistic: @/path + @components aliases (warm)
benchmark/cases/alias-realistic/index.bench.mjs
CodSpeed Performance Gauge
+4%
5 ms
4.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
exports-field: conditions=require,node (warm)
benchmark/cases/exports-field/index.bench.mjs
CodSpeed Performance Gauge
+4%
2.4 ms
2.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extension-alias: .js -> .ts (warm)
benchmark/cases/extension-alias/index.bench.mjs
CodSpeed Performance Gauge
+3%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
alias-field: browser field (warm)
benchmark/cases/alias-field/index.bench.mjs
CodSpeed Performance Gauge
+3%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
main-files: [main, entry, index] (warm)
benchmark/cases/main-files/index.bench.mjs
CodSpeed Performance Gauge
+2%
923 µs
900.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
deep-package-subpath: pkg/a/b/c requests (warm)
benchmark/cases/deep-package-subpath/index.bench.mjs
CodSpeed Performance Gauge
+2%
2.2 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
array-alias: @ -> [preferred, fallback] (warm)
benchmark/cases/array-alias/index.bench.mjs
CodSpeed Performance Gauge
+2%
765.9 µs
749.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsconfig-paths: 5 path prefixes (warm)
benchmark/cases/tsconfig-paths/index.bench.mjs
CodSpeed Performance Gauge
+1%
3 ms
3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsconfig-extends: 3-level extends chain (warm)
benchmark/cases/tsconfig-extends/index.bench.mjs
CodSpeed Performance Gauge
+1%
2.6 ms
2.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefer-relative: bare-as-relative (warm)
benchmark/cases/prefer-relative/index.bench.mjs
CodSpeed Performance Gauge
+1%
913.6 µs
906 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: node import.meta.resolve x 1000
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+1%
4.2 ms
4.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
enforce-extension: explicit .js requests (warm)
benchmark/cases/enforce-extension/index.bench.mjs
CodSpeed Performance Gauge
+1%
974.8 µs
967.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve async x 1000 (fs + unsafeCache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+1%
28.9 ms
28.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fallback: node-builtin polyfill aliases (warm)
benchmark/cases/fallback/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.4 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
unsafe-cache: ON, 3x repeat
benchmark/cases/unsafe-cache/index.bench.mjs
CodSpeed Performance Gauge
+1%
987.1 µs
981.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-midsize: mixed batch (warm cache)
benchmark/cases/realistic-midsize/index.bench.mjs
CodSpeed Performance Gauge
+1%
3.2 ms
3.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
symlinks: follow symlinks=true (warm)
benchmark/cases/symlinks/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.8 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve promise x 1000 (no cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
382.2 ms
380.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
restrictions: path prefix + regex (warm)
benchmark/cases/restrictions/index.bench.mjs
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
6637632
+54.61%
perf(alias): avoid per-resolve split("*") in AliasUtils scan
e6d257d
2 days ago
by claude
+0.51%
Create neat-toys-serve.md
285bcb4
20 hours ago
by alexander-akait
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs