webpack
enhanced-resolve
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: skip empty-query concat, bound star scan, flatten alias predicate
#574
Merged
Comparing
claude/simplify-and-optimize-NgYnr
(
b48a08b
) with
main
(
f28d8b9
)
CodSpeed Performance Gauge
×2.1
Improvement
3
Untouched
135
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
Untouched
138 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cache-predicate: mixed cached/uncached requests (warm)
benchmark/cases/cache-predicate/index.bench.mjs
CodSpeed Performance Gauge
×2.1
4 ms
1.9 ms
Uses the
Memory instrument
to collect Memory usage metrics.
array-alias: @ -> [preferred, fallback] (warm)
benchmark/cases/array-alias/index.bench.mjs
CodSpeed Performance Gauge
+17%
1.8 KB
1.5 KB
Uses the
Memory instrument
to collect Memory usage metrics.
pathological-deep-stack: alias chain of 50 (warm)
benchmark/cases/pathological-deep-stack/index.bench.mjs
CodSpeed Performance Gauge
+14%
16.7 KB
14.7 KB
Uses the
Memory instrument
to collect Memory usage metrics.
fallback: node-builtin polyfill aliases (warm)
benchmark/cases/fallback/index.bench.mjs
CodSpeed Performance Gauge
+7%
2 KB
1.9 KB
Uses the
Memory instrument
to collect Memory usage metrics.
node-compare: node require.resolve x 1000
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+6%
23.2 KB
22 KB
Uses the
Memory instrument
to collect Memory usage metrics.
node-compare: enhanced-resolve promise x 1000 (no cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+5%
115.2 KB
109.3 KB
Uses the
Memory instrument
to collect Memory usage metrics.
failed-resolution: missing files + packages
benchmark/cases/failed-resolution/index.bench.mjs
CodSpeed Performance Gauge
+3%
4.2 KB
4.1 KB
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.
node-compare: enhanced-resolve sync x 1000 (fs + unsafeCache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+1%
17.6 ms
17.4 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
+1%
591.3 µs
585.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
unsafe-cache-miss-heavy: 1 miss pass + 1 hit pass
benchmark/cases/unsafe-cache-miss-heavy/index.bench.mjs
CodSpeed Performance Gauge
+1%
4.2 ms
4.2 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
+1%
26.7 ms
26.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
deep-hierarchy: relative from 10-deep dir (warm)
benchmark/cases/deep-hierarchy/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.7 ms
1.7 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%
869.5 µs
862.6 µ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%
27.5 ms
27.3 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.7 ms
1.6 ms
Uses the
Memory instrument
to collect Memory usage metrics.
node-compare: enhanced-resolve async x 1000 (fs cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+1%
788.8 KB
783.5 KB
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
+1%
2.1 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
+1%
16.4 ms
16.3 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
+1%
3.1 ms
3.1 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%
939.4 µs
934.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
unsafe-cache-key-build: 48 distinct requests, 3x pass, cached
benchmark/cases/unsafe-cache-key-build/index.bench.mjs
CodSpeed Performance Gauge
0%
5.7 ms
5.6 ms
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
0%
2.8 ms
2.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve async x 1000 (no cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
364 ms
362.6 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
0%
343.5 µs
342.5 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
f28d8b9
×2.1
perf: cut per-resolve allocations in parse, descfile walk, tsconfig select
b48a08b
1 day ago
by claude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs