uutils
num-prime
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix nth_root_exact panic on negative even roots
#56
Comparing
sylvestre:bug-25
(
d9f280a
) with
main
(
75e7ea8
)
CodSpeed Performance Gauge
-93%
Improvement
1
Regression
3
Untouched
25
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
29 total
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)
CodSpeed Performance Gauge
-93%
759.5 ms
11,165.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_prime_gen::prime generation (256 bits)
CodSpeed Performance Gauge
-60%
22 ms
54.6 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
-54%
3.2 ms
6.9 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
+30%
33.9 ms
26.1 ms
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
0%
213.6 ms
213.4 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 (u256)
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
0%
1.9 s
1.9 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
number-theory
bench/benches/bench.rs::benches::bench_factorization::factorize (u64)
CodSpeed Performance Gauge
0%
39.5 ms
39.5 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
0%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
number-theory
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
0%
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_factorization::factorize (u64)
CodSpeed Performance Gauge
0%
24.8 ms
24.8 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
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
0%
28.1 µs
28.1 µs
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
0%
28.2 µs
28.2 µ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
0%
4 ms
4 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
0%
8.8 ms
8.8 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
0%
4 s
4 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
0%
96.1 ms
96.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
0%
481.6 µs
481.7 µ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 (u2048)
CodSpeed Performance Gauge
0%
68.9 ms
69 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
69 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u256)
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
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
0%
18.8 µs
18.8 µ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
0%
18.8 µs
18.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::primality check (u2048)
CodSpeed Performance Gauge
0%
105.6 µs
105.8 µs
1
2
Commits
Click on a commit to change the comparison range
Base
main
75e7ea8
-93.2%
Fix nth_root_exact panic on negative even roots - verify with scilab too
d9f280a
3 days ago
by sylvestre
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs