Avatar for the webpack user
webpack
enhanced-resolve
BlogDocsChangelog

fix: recognize win32 relative paths in getType and isRelativeRequest

#564
Comparing
fix/win32-relative-paths
(
1c72b66
) with
main
(
cd959d6
)
CodSpeed Performance Gauge
-51%
Improvement
1
Regression
1
Untouched
136

Benchmarks

138 total
cache-predicate: mixed cached/uncached requests (warm)
benchmark/cases/cache-predicate/index.bench.mjs
CodSpeed Performance Gauge
-51%
1.9 ms4 ms
realistic-midsize: mixed batch (cold cache)
benchmark/cases/realistic-midsize/index.bench.mjs
CodSpeed Performance Gauge
+11%
8.1 ms7.2 ms
exports-field: conditions=require,node (warm)
benchmark/cases/exports-field/index.bench.mjs
CodSpeed Performance Gauge
+7%
1.9 KB1.8 KB
fallback: node-builtin polyfill aliases (warm)
benchmark/cases/fallback/index.bench.mjs
CodSpeed Performance Gauge
+7%
2 KB1.9 KB
cache-predicate: mixed cached/uncached requests (warm)
benchmark/cases/cache-predicate/index.bench.mjs
CodSpeed Performance Gauge
-6%
1.9 KB2 KB
node-compare: enhanced-resolve async x 1000 (fs + unsafeCache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+6%
101.1 KB95.8 KB
tsconfig-paths: 5 path prefixes (warm)
benchmark/cases/tsconfig-paths/index.bench.mjs
CodSpeed Performance Gauge
-5%
96.6 KB101.9 KB
alias-field: browser field (warm)
benchmark/cases/alias-field/index.bench.mjs
CodSpeed Performance Gauge
+4%
1.4 ms1.4 ms
node-compare: enhanced-resolve async x 1000 (no cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
-3%
174.1 KB179.7 KB
node-compare: enhanced-resolve promise x 1000 (no cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
+2%
117.1 KB115.2 KB
symlinks: follow symlinks=true (warm)
benchmark/cases/symlinks/index.bench.mjs
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
node-compare: node import.meta.resolve x 1000
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
-1%
4.1 ms4.2 ms
enforce-extension: explicit .js requests (warm)
benchmark/cases/enforce-extension/index.bench.mjs
CodSpeed Performance Gauge
-1%
862.2 µs871.3 µs
node-compare: enhanced-resolve sync x 1000 (fs cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
-1%
66.5 ms67.1 ms
node-compare: enhanced-resolve promise x 1000 (fs cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
-1%
137.4 ms138.4 ms
node-compare: enhanced-resolve async x 1000 (fs cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
-1%
783.5 KB788.8 KB
deep-package-subpath: pkg/a/b/c requests (warm)
benchmark/cases/deep-package-subpath/index.bench.mjs
CodSpeed Performance Gauge
-1%
1.8 ms1.8 ms
huge-alias-miss: 300 aliases, no match
benchmark/cases/huge-alias-miss/index.bench.mjs
CodSpeed Performance Gauge
0%
2 ms2 ms
unsafe-cache-miss-heavy: 1 miss pass + 1 hit pass
benchmark/cases/unsafe-cache-miss-heavy/index.bench.mjs
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
exports-field: conditions=require,node (warm)
benchmark/cases/exports-field/index.bench.mjs
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
description-files-multi: package.json + bower + component (warm)
benchmark/cases/description-files-multi/index.bench.mjs
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
node-compare: enhanced-resolve sync x 1000 (no cache)
benchmark/cases/node-compare/index.bench.mjs
CodSpeed Performance Gauge
0%
654.3 ms656.5 ms
sync-resolver: resolveSync mixed batch (warm)
benchmark/cases/sync-resolver/index.bench.mjs
CodSpeed Performance Gauge
0%
590.3 µs592.1 µs
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 ms5.8 ms
alias-wildcard-scan: 100+1 wildcard + 1 exact
benchmark/cases/alias-wildcard-scan/index.bench.mjs
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms

Commits

Click on a commit to change the comparison range
Base
main
cd959d6
-51.22%
chore: add changeset for win32 relative paths fix
5520c4c
1 month ago
by xiaoxiaojx
-0.19%
refactor: extract toPosixSep helper for backslash conversion
53bb3c1
1 month ago
by xiaoxiaojx
0%
fix: update
b8f1b83
1 month ago
by xiaoxiaojx
0%
Revert "fix: update"
1c72b66
1 month ago
by xiaoxiaojx
© 2026 CodSpeed Technology
Home Terms Privacy Docs