mikeleppane
visualvault
BlogDocsChangelog

Optimize tokio Runtime usage in benchmarks

#15
Comparing
ixand:optimize-runtime-in-bench
(
60696f5
) with
main
(
5282e85
)
CodSpeed Performance Gauge
0%
Untouched
17
New
6
Dropped
6

Benchmarks

Failed

organize_by_type[100]
benches/organizer_benchmark.rs::benches::benchmark_organize_by_type
Missing
CodSpeed Performance Gauge
N/A
736.4 µsN/A
organize_by_type[500]
benches/organizer_benchmark.rs::benches::benchmark_organize_by_type
Missing
CodSpeed Performance Gauge
N/A
3.5 msN/A
organize_modes[yearly]
benches/organizer_benchmark.rs::benches::benchmark_organize_modes
Missing
CodSpeed Performance Gauge
N/A
7.8 msN/A
organize_by_type[1000]
benches/organizer_benchmark.rs::benches::benchmark_organize_by_type
Missing
CodSpeed Performance Gauge
N/A
7 msN/A
organize_modes[type]
benches/organizer_benchmark.rs::benches::benchmark_organize_modes
Missing
CodSpeed Performance Gauge
N/A
6.6 msN/A
organize_modes[monthly]
benches/organizer_benchmark.rs::benches::benchmark_organize_modes
Missing
CodSpeed Performance Gauge
N/A
8.6 msN/A

New

files[500]
benches/organizer_benchmark.rs::benches::run_benchmarks::FileOrganizer::organize_by_type
CodSpeed Performance Gauge
N/A
N/A3.5 ms
files[100]
benches/organizer_benchmark.rs::benches::run_benchmarks::FileOrganizer::organize_by_type
CodSpeed Performance Gauge
N/A
N/A745.4 µs
mode[yearly]
benches/organizer_benchmark.rs::benches::run_benchmarks::FileOrganizer::organize_modes
CodSpeed Performance Gauge
N/A
N/A7.7 ms
files[1000]
benches/organizer_benchmark.rs::benches::run_benchmarks::FileOrganizer::organize_by_type
CodSpeed Performance Gauge
N/A
N/A7 ms
mode[type]
benches/organizer_benchmark.rs::benches::run_benchmarks::FileOrganizer::organize_modes
CodSpeed Performance Gauge
N/A
N/A6.7 ms
mode[monthly]
benches/organizer_benchmark.rs::benches::run_benchmarks::FileOrganizer::organize_modes
CodSpeed Performance Gauge
N/A
N/A8.8 ms

Passed

scanner[100]
benches/scanner_benchmark.rs::benches::benchmark_scanner
CodSpeed Performance Gauge
+4%
1.3 ms1.2 ms
scanner_parallel[1]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
+1%
46.7 ms46.2 ms
scanner[5000]
benches/scanner_benchmark.rs::benches::benchmark_scanner
CodSpeed Performance Gauge
+1%
57.8 ms57.3 ms
scanner_parallel[4]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
+1%
59.3 ms58.8 ms
scanner_parallel[2]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
+1%
60.1 ms59.7 ms
scanner[1000]
benches/scanner_benchmark.rs::benches::benchmark_scanner
CodSpeed Performance Gauge
+1%
11.7 ms11.6 ms
duplicate_detection[10000]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_detection_with_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[1000]
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_without_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[50%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
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_ratios[10%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
duplicate_ratios[30%]
benches/duplicate_benchmark.rs::benches::benchmark_duplicate_ratios
CodSpeed Performance Gauge
0%
275.8 ns275.8 ns
scanner_parallel[8]
benches/scanner_benchmark.rs::benches::benchmark_scanner_parallel
CodSpeed Performance Gauge
-2%
58.5 ms59.5 ms

Commits

Click on a commit to change the comparison range
Base
main
5282e85
+0.1%
Fix benchmarks to pass with updated implementation
ec546df
4 months ago
by ixand
+0.16%
fix(bench): add missing temp_dir to organize_by_type benchmark
1214462
4 months ago
by ixand
+0.1%
cargo fmt -all
60696f5
4 months ago
by ixand
© 2025 CodSpeed Technology
Home Terms Privacy Docs