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
125
Skipped
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
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.
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.
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.
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.
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.
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.
ls_recursive_long_all_mixed_tree
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ls_recursive_long_all_deep_tree[(100, 4)]
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_german_c_locale
src/uu/sort/benches/sort_locale_bench.rs
CodSpeed Performance Gauge
0%
38.4 ms
38.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ls_recursive_long_all_wide_tree[(15000, 1500)]
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
142.1 ms
142.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsort_tree_dag[(10, 3)]
src/uu/tsort/benches/tsort_bench.rs
CodSpeed Performance Gauge
0%
34.4 ms
34.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsort_wide_dag[100000]
src/uu/tsort/benches/tsort_bench.rs
CodSpeed Performance Gauge
0%
134.7 ms
134.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_case_sensitive[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
174.2 ms
174.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mv_single_file
src/uu/mv/benches/mv_bench.rs
CodSpeed Performance Gauge
0%
129.6 ms
129.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wc_lines_extreme_line_lengths[(100000, 200)]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_recursive_balanced_tree[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
72.4 ms
72.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hashsum_sha512
src/uu/hashsum/benches/hashsum_bench.rs
CodSpeed Performance Gauge
0%
110.8 ms
110.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
uniq_with_count[10000]
src/uu/uniq/benches/uniq_bench.rs
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
uniq_heavy_duplicates[10000]
src/uu/uniq/benches/uniq_bench.rs
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_mixed_c_locale
src/uu/sort/benches/sort_locale_bench.rs
CodSpeed Performance Gauge
0%
38.3 ms
38.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsort_linear_chain[1000000]
src/uu/tsort/benches/tsort_bench.rs
CodSpeed Performance Gauge
0%
1.5 s
1.5 s
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
4 months ago
by asder8215
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs