mikeleppane
visualvault
BlogDocsChangelog

Refactor benchmarks to improve async handling and structure for TempD…

#18Merged
Comparing
fix(bench)/improve-benchmarks
(
cbced19
) with
main
(
752c1be
)
CodSpeed Performance Gauge
+16%
Improvements
1
Untouched
22

Benchmarks

Improved

scanner[100]
benches/scanner_benchmark.rs::benches::benchmark_scanner
CodSpeed Performance Gauge
+16%
8.3 ms7.1 ms

Passed

organize_by_type[500]
benches/organizer_benchmark.rs::benches::benchmark_organize_by_type
CodSpeed Performance Gauge
+4%
3.6 ms3.5 ms
organize_by_type[100]
benches/organizer_benchmark.rs::benches::benchmark_organize_by_type
CodSpeed Performance Gauge
+2%
743 µs725.2 µs
organize_modes[type]
benches/organizer_benchmark.rs::benches::benchmark_organize_modes
CodSpeed Performance Gauge
+1%
6.7 ms6.6 ms
scanner[1000]
benches/scanner_benchmark.rs::benches::benchmark_scanner
CodSpeed Performance Gauge
+1%
64.3 ms63.4 ms
scanner_parallel[2]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
+1%
328.5 ms325.8 ms
scanner_parallel[4]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
+1%
329.3 ms326.9 ms
scanner_parallel[1]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
+1%
330.3 ms328.2 ms
organize_by_type[1000]
benches/organizer_benchmark.rs::benches::benchmark_organize_by_type
CodSpeed Performance Gauge
+1%
7 ms6.9 ms
scanner_parallel[8]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
0%
330.4 ms330.3 ms
scanner[5000]
benches/scanner_benchmark.rs::benches::benchmark_scanner
CodSpeed Performance Gauge
0%
327.5 ms327.4 ms
duplicate_ratios[30%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_detection[5000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_without_quick_hash
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_detection[5000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_with_quick_hash
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_detection[1000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_with_quick_hash
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_detection[10000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_without_quick_hash
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_ratios[70%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_detection[1000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_without_quick_hash
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_detection[10000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_with_quick_hash
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_ratios[10%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_ratios[50%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
organize_modes[monthly]
benches/organizer_benchmark.rs::benches::benchmark_organize_modes
CodSpeed Performance Gauge
0%
8.6 ms8.6 ms
organize_modes[yearly]
benches/organizer_benchmark.rs::benches::benchmark_organize_modes
CodSpeed Performance Gauge
-2%
7.6 ms7.7 ms

Commits

Click on a commit to change the comparison range
Base
main
752c1be
+18.01%
Refactor benchmarks to improve async handling and structure for TempDir and settings
1e7e314
4 months ago
by mikeleppane
-1.88%
Remove unnecessary newline in benchmark_organize_modes function
cbced19
4 months ago
by mikeleppane
© 2025 CodSpeed Technology
Home Terms Privacy Docs