arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
bugfix: fix store benchmark
Augusto F. Hack hack.augusto@gmail.com
Wed, 22 Mar 2023 10:53:12 +0100
commit

ef342cec2371a88fff440524c36dba848a362c42

parent

7305a72295367c4fbc0a02b0c6a82b8c0702f4e4

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,