now using actual cpu score instead of just multithread

This commit is contained in:
2026-04-02 08:56:54 +02:00
parent 71df2b5e66
commit 4ba117e467
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -148,6 +148,10 @@ fn main() {
scaling_color_formatter(format!("{:.2}x", multi_thread_speedup_ratio)).bold()
);
let score = (multithread_benchmark.score + singlethread_benchmark.score) / 2;
println!("\nCPU Score : {score}",);
report.benchmark = Some(BenchmarkReport {
prime_limit: cli.prime_limit,
logical_cores: logical_core_count,