Skip to content

Commit 6347a7e

Browse files
committed
rebased, aligned packages, enabled the default bench configuration
1 parent 20d9e13 commit 6347a7e

File tree

4 files changed

+12
-20
lines changed

4 files changed

+12
-20
lines changed

Cargo.lock

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kzg/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ arkmsm = []
3636
bgmw = []
3737
sppark = []
3838
wbits = []
39+
strauss = []
40+
bos_coster = []
3941
diskcache = [
4042
"std",
4143
"dep:dirs"

msm-benches/Cargo.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,12 @@ parallel = [
4949
"rust-kzg-arkworks5/parallel",
5050
"rust-kzg-constantine/parallel",
5151
"rust-kzg-mcl/parallel",
52-
],
53-
bos_coster = [
54-
"rust-kzg-blst/bos_coster",
55-
# "rust-kzg-arkworks4/bos_coster",
56-
# "rust-kzg-arkworks5/bos_coster",
57-
# "rust-kzg-constantine/bos_coster",
5852
]
59-
6053
strauss = [
6154
"rust-kzg-blst/strauss",
62-
# "rust-kzg-arkworks4/strauss",
63-
# "rust-kzg-arkworks5/strauss",
64-
# "rust-kzg-constantine/strauss",
55+
"rust-kzg-arkworks4/strauss",
56+
"rust-kzg-arkworks5/strauss",
57+
"rust-kzg-constantine/strauss",
6558
]
6659

6760
[[bench]]

msm-benches/benches/g1_fixed_base_msm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,9 @@ fn bench_fixed_base_msm(c: &mut Criterion) {
513513
}
514514
}
515515

516-
//criterion_group!(benches, bench_fixed_base_msm);
517-
//criterion_main!(benches);
518-
fn bench_small_fixed_base_msm(c: &mut Criterion) {
516+
criterion_group!(benches, bench_fixed_base_msm);
517+
criterion_main!(benches);
518+
/*fn bench_small_fixed_base_msm(c: &mut Criterion) {
519519
let small_powers = vec![4, 5, 6, 7, 8]; // 16, 32, 64, 128 points
520520
521521
for &npow in &small_powers {
@@ -599,4 +599,4 @@ criterion_group!{
599599
config = Criterion::default().sample_size(10);
600600
targets = bench_fixed_base_msm, bench_small_fixed_base_msm
601601
}
602-
criterion_main!(benches);
602+
criterion_main!(benches);*/

0 commit comments

Comments
 (0)