Browse Source

Merge pull request #101 from 0xPolygonMiden/hacka-fix-benchmark-code

Fix benchmark code
al-gkr-basic-workflow
Augusto Hack 2 years ago
committed by GitHub
parent
commit
482dab94c5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      benches/store.rs

+ 4
- 2
benches/store.rs

@ -425,7 +425,8 @@ fn update_leaf_merkletree(c: &mut Criterion) {
// comparison
store_root = store
.set_node(root, NodeIndex::new(depth, index), value)
.unwrap();
.unwrap()
.root;
black_box(store_root)
},
BatchSize::SmallInput,
@ -478,7 +479,8 @@ fn update_leaf_simplesmt(c: &mut Criterion) {
// comparison
store_root = store
.set_node(root, NodeIndex::new(depth, index), value)
.unwrap();
.unwrap()
.root;
black_box(store_root)
},
BatchSize::SmallInput,

Loading…
Cancel
Save