Make benchmarks compile, and check them in CI

This commit is contained in:
Pratyush Mishra
2020-02-27 00:13:08 -08:00
parent 8bf042a029
commit 2298df2e78
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ use rand;
#[macro_use]
extern crate criterion;
use algebra::{curves::edwards_bls12::EdwardsProjective as Edwards, UniformRand};
use algebra::{edwards_bls12::EdwardsProjective as Edwards, UniformRand};
use criterion::Criterion;
use crypto_primitives::commitment::{pedersen::*, CommitmentScheme};

View File

@@ -3,7 +3,7 @@ use rand;
#[macro_use]
extern crate criterion;
use algebra::curves::edwards_bls12::EdwardsProjective as Edwards;
use algebra::edwards_bls12::EdwardsProjective as Edwards;
use criterion::Criterion;
use crypto_primitives::crh::{pedersen::*, FixedLengthCRH};

View File

@@ -2,7 +2,7 @@
extern crate criterion;
mod affine {
use algebra::curves::edwards_bls12::EdwardsAffine as Edwards;
use algebra::edwards_bls12::EdwardsAffine as Edwards;
use blake2::Blake2s;
use criterion::Criterion;
use crypto_primitives::signature::{schnorr::*, SignatureScheme};
@@ -90,7 +90,7 @@ mod affine {
}
mod projective {
use algebra::curves::edwards_bls12::EdwardsProjective as Edwards;
use algebra::edwards_bls12::EdwardsProjective as Edwards;
use blake2::Blake2s;
use criterion::Criterion;
use crypto_primitives::signature::{schnorr::*, SignatureScheme};