Avatar for the hyf0 user
hyf0
sugar_path
BlogDocsChangelog

feat: always remove last `/`, refactor tests with str-based equality check

#29Merged
Comparing
hyf_324890238904
(
4181af8
) with
main
(
94aca38
)
CodSpeed Performance Gauge
0%
Untouched
19

Benchmarks

19 total
to_slash_mixed_separators
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
793.9 ns764.7 ns
to_slash_deep_nesting
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
815.8 ns786.7 ns
relative_simple
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
9.6 µs9.5 µs
relative_deep_nesting
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
13 µs12.9 µs
to_slash_vs_to_slash_lossy
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
9.5 µs9.5 µs
absolutize_with
benches/absolutize.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
30.4 µs30.3 µs
as_path_chaining
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
53.6 µs53.6 µs
to_slash_absolute_paths
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
2.4 µs2.4 µs
to_slash
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.8 µs3.8 µs
as_path_str
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
508.3 ns508.3 ns
relative_same_path
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3 µs3 µs
relative_with_dots
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.7 µs11.7 µs
as_path_string
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
654.7 ns654.7 ns
normalize
benches/normalize.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
53.4 µs53.4 µs
absolutize
benches/absolutize.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
40.8 µs40.9 µs
to_slash_lossy
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
6.4 µs6.5 µs
relative_parent_child
benches/relative.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
4.6 µs4.6 µs
to_slash_lossy_absolute_paths
benches/to_slash.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
3.8 µs3.8 µs
as_path_vs_path_new
benches/as_path.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-4%
753.1 ns782.2 ns

Commits

Click on a commit to change the comparison range
Base
main
94aca38
+0.19%
feat: always remove last `/`, refactor tests with str-based equality check
f961901
1 month ago
by hyf0
0%
fix: gate unit normalize test to unix only (Windows covered by integration tests)
5c632d9
1 month ago
by hyf0
0%
fix: allow unused assert_eq_str macro on Windows
99eb87a
1 month ago
by hyf0
0%
fix: correct Windows absolutize expected values for string equality
bf37422
1 month ago
by hyf0
0%
fix: correct UNC root path expected value on Windows
ba1babc
1 month ago
by hyf0
0%
fix: gate deep_paths tests with unix-style expectations to unix only
d1ec0ca
1 month ago
by hyf0
0%
fix: correct Windows UNC normalize expected value (mixed separator bug)
a4f5ff4
1 month ago
by hyf0
0%
fix: correct Windows UNC root trailing separator in relative test
aa1d8a6
1 month ago
by hyf0
0%
docs: add comments explaining UNC root trailing separator
d38ec39
1 month ago
by hyf0
0%
docs: add TODO for Windows UNC mixed separator bug
5a99430
1 month ago
by hyf0
0%
docs: replace UNC root comments with TODO noting potential bug
4181af8
1 month ago
by hyf0
© 2026 CodSpeed Technology
Home Terms Privacy Docs