uutils
num-prime
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
enable memory benchmarking in addition to simulation
#46
Merged
Comparing
sylvestre:bench-mem
(
ad3216e
) with
main
(
03f13be
)
CodSpeed Performance Gauge
-95%
Improvement
6
Regression
10
Untouched
13
New
29
No successful run was found on
main
(
ad3216e
) during the generation of this report, so
03f13be
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
New
Untouched
58 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
-95%
46.1 µs
921 µ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
-82%
11.5 µs
62.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
-82%
11.5 µs
62.7 µ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
-81%
63.4 µs
337.1 µ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
-73%
17 ms
62.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
-60%
2.6 ms
6.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
-55%
4.8 µs
10.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
-55%
4.9 µs
10.9 µ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
-46%
25.2 ms
46.7 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
-17%
96.1 ms
116.3 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
×13
8,808.1 ms
690.5 ms
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
+71%
1.9 s
1.1 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
+69%
3.6 ms
2.1 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
+58%
9 ms
5.7 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
+37%
3.8 ms
2.8 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
+18%
4.7 ms
4 ms
Uses the
Memory instrument
to collect Memory usage metrics.
number-theory
bench/benches/bench.rs::benches::bench_factorization::factorize (u64)
CodSpeed Performance Gauge
N/A
N/A
128 B
Uses the
Memory instrument
to collect Memory usage metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_prime_gen::prime generation (256 bits)
CodSpeed Performance Gauge
N/A
N/A
1.3 KB
Uses the
Memory instrument
to collect Memory usage metrics.
primal-check
bench/benches/bench.rs::benches::bench_is_prime::primality check (u64)
CodSpeed Performance Gauge
N/A
N/A
0 B
Uses the
Memory instrument
to collect Memory usage metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u2048)
CodSpeed Performance Gauge
N/A
N/A
512 B
Uses the
Memory instrument
to collect Memory usage metrics.
num-prime (this crate)
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
N/A
N/A
9.4 KB
Uses the
Memory instrument
to collect Memory usage metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
N/A
N/A
32 B
Uses the
Memory instrument
to collect Memory usage metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::primality check (u256)
CodSpeed Performance Gauge
N/A
N/A
140 B
Uses the
Memory instrument
to collect Memory usage metrics.
num-primes
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u256)
CodSpeed Performance Gauge
N/A
N/A
540 B
Uses the
Memory instrument
to collect Memory usage metrics.
glass_pumpkin
bench/benches/bench.rs::benches::bench_is_prime::safe primality check (u256)
CodSpeed Performance Gauge
N/A
N/A
64 B
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
fa57a61
-95%
unbreak the benchmark in the CI
ad3216e
2 months ago
by sylvestre
+0.42%
Disable the memory benchmarking for now
4b805e6
2 months ago
by sylvestre
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs