webpack
enhanced-resolve
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: getPaths + modulesResolveHandler; add hot-path benchmarks
#534
Merged
Comparing
claude/perf-improvements-benchmarks-fjl0J
(
1290384
) with
main
(
3c4e574
)
CodSpeed Performance Gauge
-14%
Regression
2
Untouched
57
New
8
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
New
Untouched
67 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
query-fragment: ?query + #fragment mix (warm)
benchmark/cases/query-fragment/index.bench.mjs
CodSpeed Performance Gauge
-14%
1.5 ms
1.8 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
-12%
7.2 ms
8.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cd-up: mixed POSIX + Windows single-level calls
benchmark/cases/cd-up/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
4.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cd-up: walk to root, 10-level POSIX chain
benchmark/cases/cd-up/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
get-paths: deep 10-level POSIX path only
benchmark/cases/get-paths/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
11.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
get-inner-request: mixed request shapes (cold each time)
benchmark/cases/get-inner-request/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
get-paths: mixed absolute + Windows + bare inputs
benchmark/cases/get-paths/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
9.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
get-inner-request: memoized hot repeats on same object
benchmark/cases/get-inner-request/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
529.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
modules-flat-addrs: 8-deep dir × 4 modules, 4 bare resolves
benchmark/cases/modules-flat-addrs/index.bench.mjs
CodSpeed Performance Gauge
N/A
N/A
2.7 ms
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
N/A
N/A
5.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extension-alias-many: 3 source exts with fallbacks (warm)
benchmark/cases/extension-alias-many/index.bench.mjs
CodSpeed Performance Gauge
+3%
680.9 µs
663.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
imports-field: # specifiers (warm)
benchmark/cases/imports-field/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 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.7 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
+1%
1.9 ms
1.9 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
0%
3.5 ms
3.4 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 ms
18 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
exports-patterns-many: 6 prefixes x 4 leaves (warm)
benchmark/cases/exports-patterns-many/index.bench.mjs
CodSpeed Performance Gauge
0%
5.2 ms
5.1 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.1 ms
27.1 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
0%
2.4 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concurrent-batch: Promise.all of 15 resolves (warm)
benchmark/cases/concurrent-batch/index.bench.mjs
CodSpeed Performance Gauge
0%
2.9 ms
2.9 ms
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.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
exports-field: conditions=import,node (warm)
benchmark/cases/exports-field/index.bench.mjs
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
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
0%
84.7 ms
84.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
node-compare: enhanced-resolve promise x 1000 (fs cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
159.8 ms
159.8 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
0%
17.2 ms
17.2 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
3c4e574
-14.27%
bench: add hot-path benchmark cases
1290384
19 hours ago
by claude
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs