Skip to content
Snippets Groups Projects
Verified Commit 409f3e3c authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

don't multiply degree by 1_024

parent 37a2a7e2
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ where
fn commit(c: &mut Criterion) {
for n in [1, 2, 4, 8, 16] {
commit_template::<Fr, G1Projective, DensePolynomial<Fr>>(c, black_box(n * 1024));
commit_template::<Fr, G1Projective, DensePolynomial<Fr>>(c, black_box(n));
}
}
......@@ -71,7 +71,7 @@ fn ark_commit(c: &mut Criterion) {
for n in [1, 2, 4, 8, 16] {
ark_commit_template::<Bls12_381, DensePolynomial<<Bls12_381 as Pairing>::ScalarField>>(
c,
black_box(n * 1024),
black_box(n),
);
}
}
......
......@@ -151,7 +151,7 @@ where
fn setup(c: &mut Criterion) {
for n in [1, 2, 4, 8, 16] {
setup_template::<Fr, G1Projective, DensePolynomial<Fr>>(c, black_box(n * 1024));
setup_template::<Fr, G1Projective, DensePolynomial<Fr>>(c, black_box(n));
}
}
......@@ -159,7 +159,7 @@ fn ark_setup(c: &mut Criterion) {
for n in [1, 2, 4, 8, 16] {
ark_setup_template::<Bls12_381, DensePolynomial<<Bls12_381 as Pairing>::ScalarField>>(
c,
black_box(n * 1024),
black_box(n),
);
}
}
......
......@@ -36,6 +36,6 @@ where
fn main() {
for n in [1, 2, 4, 8, 16] {
setup_template::<Fr, G1Projective, DensePolynomial<Fr>>(n * 1024);
setup_template::<Fr, G1Projective, DensePolynomial<Fr>>(n);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment