-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
// - isis agora lovecruft <[email protected]> | ||
// - Jeff Burdges <[email protected]> | ||
|
||
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, | ||
); |