uutils
coreutils
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
factor: use num_prime crate's u64 and u128 factorization methods to speed up the performance of calculating prime numbers for u64 and u128
#9171
Merged
Comparing
asder8215:factor_optimization
(
7622e9f
) with
main
(
859a1ed
)
CodSpeed Performance Gauge
+4%
Improvement
1
Untouched
124
Ignored
1
Skipped
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
Skipped
128 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
factor_multiple_u64s[2]
src/uu/factor/benches/factor_bench.rs
CodSpeed Performance Gauge
+4%
186.4 ms
180.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
factor_multiple_u128s[18446744073709551616]
src/uu/factor/benches/factor_bench.rs
CodSpeed Performance Gauge
+2%
331.2 ms
323.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsort_input_parsing_heavy[5000]
src/uu/tsort/benches/tsort_bench.rs
CodSpeed Performance Gauge
-1%
81.6 ms
82.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_human_balanced_tree[(5, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
+1%
10.5 ms
10.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
+1%
11.3 ms
11.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_reverse_locale[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
-1%
361.5 ms
363.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_unique_locale[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
494 ms
495.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_recursive_deep_tree[(120, 4)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
13.6 ms
13.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
factor_multiple_big_uint
src/uu/factor/benches/factor_bench.rs
CodSpeed Performance Gauge
0%
45.5 ms
45.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
b64_decode_ignore_garbage_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
149.9 µs
149.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_recursive_wide_tree[(6000, 800)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
189.5 ms
189.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_all_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
18.2 ms
18.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_max_depth_balanced_tree[(6, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
33.1 ms
33.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_preserve_metadata[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
75 ms
75 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_unique_mixed
src/uu/sort/benches/sort_locale_bench.rs
CodSpeed Performance Gauge
0%
39.3 ms
39.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_reverse_mixed
src/uu/sort/benches/sort_locale_bench.rs
CodSpeed Performance Gauge
0%
39.1 ms
39.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_mixed_utf8_locale
src/uu/sort/benches/sort_locale_bench.rs
CodSpeed Performance Gauge
0%
38.8 ms
38.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_deep_tree[(100, 3)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
split_bytes
src/uu/split/benches/split_bench.rs
CodSpeed Performance Gauge
0%
505.1 µs
505.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_long_line[160000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
b64_encode_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
146.1 µs
146.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_archive_balanced_tree[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
77.8 ms
77.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
b64_decode_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
149.3 µs
149.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_summarize_balanced_tree[(5, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
8.4 ms
8.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ls_recursive_long_all_mixed_tree
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
859a1ed
+3.5%
factor: use num_prime crate's u64 and u128 factorization methods to speed up the performance of calculating prime numbers for u64 and u128
7622e9f
7 months ago
by asder8215
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs