bugfix: fix store benchmark
Augusto F. Hack hack.augusto@gmail.com
Wed, 22 Mar 2023 10:53:12 +0100
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
benches/store.rs
→
benches/store.rs
@@ -425,7 +425,8 @@ // the old root and adds the new one. Here we update the root to have a fair
// 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 @@ // the old root and adds the new one. Here we update the root to have a fair
// comparison store_root = store .set_node(root, NodeIndex::new(depth, index), value) - .unwrap(); + .unwrap() + .root; black_box(store_root) }, BatchSize::SmallInput,