Add benchmark for incrementing note witnesses

This commit is contained in:
Jack Grigg
2016-11-17 22:26:46 +13:00
parent 0fbab55b1b
commit 0bb3d40f90
9 changed files with 228 additions and 125 deletions

View File

@@ -91,6 +91,9 @@ case "$1" in
trydecryptnotes)
zcash_rpc zcbenchmark trydecryptnotes 1000 "\"$RAWJOINSPLIT\""
;;
incnotewitnesses)
zcash_rpc zcbenchmark incnotewitnesses 100 "${@:3}"
;;
*)
zcashd_stop
echo "Bad arguments."
@@ -122,6 +125,9 @@ case "$1" in
trydecryptnotes)
zcash_rpc zcbenchmark trydecryptnotes 1 "\"$RAWJOINSPLIT\""
;;
incnotewitnesses)
zcash_rpc zcbenchmark incnotewitnesses 1 "${@:3}"
;;
*)
zcashd_massif_stop
echo "Bad arguments."
@@ -154,6 +160,9 @@ case "$1" in
trydecryptnotes)
zcash_rpc zcbenchmark trydecryptnotes 1 "\"$RAWJOINSPLIT\""
;;
incnotewitnesses)
zcash_rpc zcbenchmark incnotewitnesses 1 "${@:3}"
;;
*)
zcashd_valgrind_stop
echo "Bad arguments."