uutils
num-prime
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Cargo.toml: use same optimization with uutils/factor for bench
#69
Comparing
oech3:patch-1
(
6afd61b
) with
main
(
afac996
)
CodSpeed Performance Gauge
+11%
Improvement
1
Untouched
19
Skipped
9
This report only contains results for the
CPU Simulation
instrument. To view results for the
Memory
instrument,
click here
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
29 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin (BPSW)
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u256)
CodSpeed Performance Gauge
+11%
9.2 µs
8.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u256)
CodSpeed Performance Gauge
+10%
9.1 µs
8.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
+9%
213.6 ms
195.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_prime_gen::safe prime generation (256 bits)
CodSpeed Performance Gauge
+7%
10.5 ms
9.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_prime_gen::prime generation (256 bits)
CodSpeed Performance Gauge
+6%
8.9 ms
8.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_prime_gen::safe prime generation (256 bits)
CodSpeed Performance Gauge
+6%
4 s
3.8 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u256)
CodSpeed Performance Gauge
+6%
3.9 ms
3.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_prime_gen::prime generation (256 bits)
CodSpeed Performance Gauge
+6%
977.9 µs
926.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
+6%
28 µs
26.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
+6%
2.7 ms
2.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin (BPSW)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
+5%
28 µs
26.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin (BPSW)
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
+4%
14.2 µs
13.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::primality check (u2048)
CodSpeed Performance Gauge
+4%
18.9 µs
18.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin (BPSW)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u2048)
CodSpeed Performance Gauge
+4%
18.9 µs
18.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
+3%
14.1 µs
13.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_factorization::factorize (u64)
CodSpeed Performance Gauge
+3%
16.3 ms
15.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
+2%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
0%
68.9 ms
68.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u2048)
CodSpeed Performance Gauge
0%
68.9 ms
68.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
primal-check
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
The benchmarks below were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
number-theory
bench/benches/bench.rs::benches::bench_factorization::factorize (u64)
Skipped
39.5 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
number-theory
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
Skipped
1.7 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::primality check (u2048)
Skipped
105.7 µs
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_prime_gen::safe prime generation (256 bits)
Skipped
519.6 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
Skipped
96.6 ms
*
1
2
Commits
Click on a commit to change the comparison range
Base
main
afac996
+10.97%
Cargo.toml: use same optimization with uutils/factor for bench
6afd61b
5 days ago
by oech3
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs