mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 23:11:29 +01:00
Update to new benchmarking framework (#126)
This commit is contained in:
@@ -21,7 +21,13 @@ ark-bls12-377 = { version="^0.3.0", path = "../bls12_377", default-features = fa
|
||||
[dev-dependencies]
|
||||
ark-serialize = { version="^0.3.0", default-features = false }
|
||||
ark-algebra-test-templates = { version="^0.3.0", default-features = false }
|
||||
ark-algebra-bench-templates = { version="^0.3.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
std = [ "ark-std/std", "ark-ff/std", "ark-ec/std", "ark-bls12-377/std" ]
|
||||
|
||||
[[bench]]
|
||||
name = "bw6_761"
|
||||
path = "benches/bw6_761.rs"
|
||||
harness = false
|
||||
|
||||
16
bw6_761/benches/bw6_761.rs
Normal file
16
bw6_761/benches/bw6_761.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
use ark_algebra_bench_templates::*;
|
||||
|
||||
use ark_bw6_761::{
|
||||
fq::Fq, fq3::Fq3, fq6::Fq6, fr::Fr, g1::G1Projective as G1, g2::G2Projective as G2, BW6_761,
|
||||
};
|
||||
|
||||
bench!(
|
||||
Name = "BW6_761",
|
||||
Pairing = BW6_761,
|
||||
G1 = G1,
|
||||
G2 = G2,
|
||||
ScalarField = Fr,
|
||||
G1BaseField = Fq,
|
||||
G2BaseField = Fq3,
|
||||
TargetField = Fq6,
|
||||
);
|
||||
Reference in New Issue
Block a user