uutils
num-prime
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
verify the math with Scilab
#55
Merged
Comparing
sylvestre:scilab
(
7aebe51
) with
main
(
17b85c3
)
CodSpeed Performance Gauge
-100%
Improvement
10
Regression
11
Untouched
8
No successful run was found on
main
(
3dfc6de
) during the generation of this report, so
17b85c3
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
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_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
-100%
37.3 µs
96,098 µs
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
-88%
1 ms
8.9 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
-66%
972.9 µs
2,859.5 µs
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
-65%
1.4 s
4 s
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
-52%
4.5 ms
9.4 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 (u256)
CodSpeed Performance Gauge
-50%
2 ms
4 ms
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
-45%
7.7 µs
13.9 µ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
-45%
7.7 µs
13.9 µ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
-43%
60.1 µs
105.6 µ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
-42%
10.9 µ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
-42%
10.9 µs
18.8 µs
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
×3.7
48.8 ms
13.2 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
×2.9
5.4 ms
1.9 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
+91%
918.1 µs
481.6 µ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
+78%
49.9 µ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
+77%
49.9 µ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
+69%
116.8 ms
69 ms
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
+61%
14.1 µ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::safe primality check (u256)
CodSpeed Performance Gauge
+60%
14.1 µs
8.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 (u2048)
CodSpeed Performance Gauge
+42%
98.3 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 (u256)
CodSpeed Performance Gauge
+23%
3.3 ms
2.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.
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.
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.
number-theory
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
17b85c3
-99.96%
disable the example 6 for now
7aebe51
3 months ago
by sylvestre
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs