hyf0
sugar_path
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: memchr-accelerated fast path for `relative()`
#27
Merged
Comparing
perf/memchr-accelerated-relative
(
72a97fe
) with
main
(
10cf037
)
CodSpeed Performance Gauge
×6.1
Improvement
7
Untouched
12
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
19 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
relative_deep_nesting
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
×6.1
79.5 µs
13 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
relative_simple
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
×5.6
53.1 µs
9.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
relative_parent_child
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
×4.8
22.2 µs
4.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
relative_same_path
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
×4.7
14.1 µs
3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
relative_with_dots
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
×2
23.7 µs
11.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
as_path_chaining
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+11%
59.3 µs
53.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
normalize
benches/normalize.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+11%
59.1 µs
53.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
as_path_string
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+9%
713.1 ns
654.7 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
absolutize_with
benches/absolutize.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+6%
32.3 µs
30.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
as_path_str
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+6%
537.2 ns
508.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
absolutize
benches/absolutize.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+5%
43 µs
40.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash_mixed_separators
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
815.6 ns
793.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash_absolute_paths
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.5 µs
2.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash_lossy
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
6.4 µs
6.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash_deep_nesting
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
813.6 ns
815.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash_vs_to_slash_lossy
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
9.4 µs
9.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
3.8 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to_slash_lossy_absolute_paths
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
3.8 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
as_path_vs_path_new
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-4%
723.9 ns
753.1 ns
Commits
Click on a commit to change the comparison range
Base
main
10cf037
×6.1
fix: disable bench auto-discovery to exclude fixtures from CodSpeed
72a97fe
1 month ago
by Brooooooklyn
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs