Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/benchmarks/bignum_benchmarks.nr
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
use crate::fields::{bls12_381Fq::BLS12_381_Fq, bn254Fq::BN254_Fq, U2048::U2048, U256::U256};
use crate::fields::{
bls12_377Fq::BLS12_377_Fq, bls12_377Fr::BLS12_377_Fr, bls12_381Fq::BLS12_381_Fq,
bls12_381Fr::BLS12_381_Fr, bn254Fq::BN254_Fq, U2048::U2048, U256::U256,
};

comptime fn make_bench(m: Module, params: Quoted) -> Quoted {
let module_name = m.name();
Expand Down Expand Up @@ -122,5 +125,13 @@ mod U256_Bench {}
#[make_bench(quote { BLS12_381_Fq })]
mod BLS12_381Fq_Bench {}

#[make_bench(quote { BLS12_381_Fr })]
mod BLS12_381Fr_Bench {}

#[make_bench(quote { BLS12_377_Fr })]
mod BLS12_377Fr_Bench {}

#[make_bench(quote { BLS12_377_Fq })]
mod BLS12_377Fq_Bench {}
#[make_bench(quote { U2048 })]
mod U2048_Bench {}