mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-09 15:41:30 +01:00
bugfix: fix store benchmark
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user