uutils
num-prime
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
bench: use seeded RNG for glass_pumpkin prime generation benchmarks
#57
Merged
Comparing
sylvestre:rand-2
(
35a4b6c
) with
main
(
75e7ea8
)
CodSpeed Performance Gauge
-92%
Improvement
2
Regression
2
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
-92%
759.5 ms
9,920 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
-24%
22 ms
28.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
×3.2
33.9 ms
10.5 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
×3.2
3,163.2 µs
984 µ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 (u256)
CodSpeed Performance Gauge
+1%
8.9 µs
8.8 µ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
+1%
8.8 µs
8.8 µ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
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 (u64)
CodSpeed Performance Gauge
0%
213.6 ms
213.3 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
0%
28.2 µs
28.1 µ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
0%
24.8 ms
24.8 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.
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.
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.
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-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u2048)
CodSpeed Performance Gauge
0%
68.9 ms
68.9 ms
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
0%
13.9 µs
13.9 µ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-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.
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.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
0%
68.9 ms
68.9 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_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-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 (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_is_prime::primality check (u256)
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
75e7ea8
-92.34%
bench: use seeded RNG for glass_pumpkin prime generation benchmarks
35a4b6c
2 months ago
by sylvestre
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs