use criterion::{criterion_group, criterion_main, Criterion}; use p3_field::extension::BinomialExtensionField; use p3_field_testing::bench_func::{benchmark_inv, benchmark_mul, benchmark_square}; use p3_goldilocks::Goldilocks; type EF2 = BinomialExtensionField; fn bench_qudratic_extension(c: &mut Criterion) { let name = "BinomialExtensionField"; benchmark_square::(c, name); benchmark_inv::(c, name); benchmark_mul::(c, name); } criterion_group!(bench_goldilocks_ef2, bench_qudratic_extension); criterion_main!(bench_goldilocks_ef2);