webpack
enhanced-resolve
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: precompile AliasPlugin options to speed up huge alias lists
#528
Merged
Comparing
claude/benchmark-resolve-performance-JYrp7
(
78744d1
) with
main
(
68f8a15
)
CodSpeed Performance Gauge
+22%
Improvement
4
Untouched
52
New
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
New
Untouched
58 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
+22%
104.1 ms
85.1 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
+12%
3.9 ms
3.5 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
+11%
2.2 ms
2 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
+10%
19.1 ms
17.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
huge-alias-list: 300+8 aliases, match near end
benchmark/cases/huge-alias-list/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
huge-alias-miss: 300 aliases, no match
benchmark/cases/huge-alias-miss/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
2.6 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
+8%
4.8 ms
4.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
main-field: browser/module/main combos (warm)
benchmark/cases/main-field/index.bench.mjs
CodSpeed Performance Gauge
+3%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
realistic-midsize: mixed batch (cold cache)
benchmark/cases/realistic-midsize/index.bench.mjs
CodSpeed Performance Gauge
+1%
7.3 ms
7.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
resolve-to-context: directory resolve (warm)
benchmark/cases/resolve-to-context/index.bench.mjs
CodSpeed Performance Gauge
+1%
357.9 µs
354.4 µs
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
+1%
749 µs
743.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve sync x 1000 (fs cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
89 ms
88.6 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
0%
967.6 µs
965 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: node require.resolve x 1000
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
65.2 ms
65.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sync-resolver: resolveSync mixed batch (warm)
benchmark/cases/sync-resolver/index.bench.mjs
CodSpeed Performance Gauge
0%
718.4 µs
716.9 µ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
0%
28.7 ms
28.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
failed-resolution: missing files + packages
benchmark/cases/failed-resolution/index.bench.mjs
CodSpeed Performance Gauge
0%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve promise x 1000 (fs + unsafeCache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
27.9 ms
27.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve sync x 1000 (fs + unsafeCache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
18.9 ms
18.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
symlinks: symlinks=false (warm)
benchmark/cases/symlinks/index.bench.mjs
CodSpeed Performance Gauge
0%
424.4 µs
424.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefer-absolute: absolute paths (warm)
benchmark/cases/prefer-absolute/index.bench.mjs
CodSpeed Performance Gauge
0%
876.7 µs
876.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
unsafe-cache: OFF, 3x repeat
benchmark/cases/unsafe-cache/index.bench.mjs
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
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
0%
2.1 ms
2.1 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
0%
2.3 ms
2.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
roots: server-relative paths (warm)
benchmark/cases/roots/index.bench.mjs
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
68f8a15
+22.23%
perf: skip alias scan when options is empty
78744d1
2 days ago
by claude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs