mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-09 23:51:30 +01:00
bugfix: fix store benchmark
This commit is contained in:
@@ -425,7 +425,8 @@ fn update_leaf_merkletree(c: &mut Criterion) {
|
|||||||
// comparison
|
// comparison
|
||||||
store_root = store
|
store_root = store
|
||||||
.set_node(root, NodeIndex::new(depth, index), value)
|
.set_node(root, NodeIndex::new(depth, index), value)
|
||||||
.unwrap();
|
.unwrap()
|
||||||
|
.root;
|
||||||
black_box(store_root)
|
black_box(store_root)
|
||||||
},
|
},
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
@@ -478,7 +479,8 @@ fn update_leaf_simplesmt(c: &mut Criterion) {
|
|||||||
// comparison
|
// comparison
|
||||||
store_root = store
|
store_root = store
|
||||||
.set_node(root, NodeIndex::new(depth, index), value)
|
.set_node(root, NodeIndex::new(depth, index), value)
|
||||||
.unwrap();
|
.unwrap()
|
||||||
|
.root;
|
||||||
black_box(store_root)
|
black_box(store_root)
|
||||||
},
|
},
|
||||||
BatchSize::SmallInput,
|
BatchSize::SmallInput,
|
||||||
|
|||||||
Reference in New Issue
Block a user