From 1afb4377be6ddb265fd34e2eb458a0d733506078 Mon Sep 17 00:00:00 2001 From: Fiono11 Date: Fri, 19 Apr 2024 12:22:18 +0100 Subject: [PATCH] Fix schnorr benchmarks --- .DS_Store | Bin 6148 -> 6148 bytes benches/schnorr_benchmarks.rs | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..1f487643c31855e8a0f311ffce8c5cef9e99ed9d 100644 GIT binary patch delta 136 zcmZoMXfc=|&e%3FQEZ}~q9_vs0|O%ig8&0V216=CaY}J=PE!8FM0Guo1Uo|#P%w`n z8Cfzv2dJKbnW31Wh#?uGK0jw;q96NY0}+ // - Jeff Burdges -use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; +use criterion::{BenchmarkId, Criterion, criterion_main, criterion_group}; mod schnorr_benches { use super::*; @@ -39,7 +39,7 @@ mod schnorr_benches { } fn verify_batch_signatures(c: &mut Criterion) { - const BATCH_SIZES: [usize; 1] = [1000]; + const BATCH_SIZES: [usize; 8] = [4, 8, 16, 32, 64, 96, 128, 256]; let mut group = c.benchmark_group("Schnorr batch signature verification"); for size in &BATCH_SIZES { @@ -77,4 +77,6 @@ mod schnorr_benches { } } -criterion_main!(schnorr_benches::schnorr_benches,); +criterion_main!( + schnorr_benches::schnorr_benches, +);