Avatar for the oxc-project user
oxc-project
oxc-resolver
BlogDocsChangelog

perf: reduce memory allocation by using a thread_local path for path methods

#315Merged
Comparing
perf
(
69512db
) with
main
(
8ab444b
)
CodSpeed Performance Gauge
+6%
Improvements
3
Regressions
0
Untouched
0
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

resolver[resolve from symlinks]
benches/resolver.rs::resolver::bench_resolver::resolver[resolve from symlinks]
CodSpeed Performance Gauge
+8%
68.3 ms
63.4 ms
resolver[single-thread]
benches/resolver.rs::resolver::bench_resolver::resolver[single-thread]
CodSpeed Performance Gauge
+6%
521 µs
492.7 µs
resolver[multi-thread]
benches/resolver.rs::resolver::bench_resolver::resolver[multi-thread]
CodSpeed Performance Gauge
+6%
559.5 µs
529.5 µs

Commits

Click on a commit to change the comparison range
Base
main
8ab444b
+6%
perf: reduce memory allocation by using a thread_local path for path methods
69512db
2 months ago
by Boshen
Home Terms PrivacyDocs