INNER CODE UNIT · Rust
bench_pcs
arkworks-rs/poly-commit · bench-templates/src/lib.rs:270
fn bench_pcs(c: &mut Criterion) {
bench_method!(c, commit, $scheme_type, $rand_poly, $rand_point);
bench_method!(c, open, $scheme_type, $rand_poly, $rand_point);
bench_method!(c, verify, $scheme_type, $rand_poly, $rand_point);
}
criterion_group!(benches, bench_pcs);
paste! {
criterion_main!(
benches
);
}
};
}
/**** Auxiliary methods for linear-code-based PCSs ****/