diff --git a/db-benchmark-test/runbenchmarks.sh b/db-benchmark-test/runbenchmarks.sh index 190edf369df..19015cbdbf6 100755 --- a/db-benchmark-test/runbenchmarks.sh +++ b/db-benchmark-test/runbenchmarks.sh @@ -15,43 +15,43 @@ alias flatteningtxnscan='(dbtxn 2>&1 >/dev/null) && scan' (flatteningscan)2>&1 >/dev/null # Cache binaries/etc. -#echo db-benchmark-test no transactions -#db -#echo Time for 5 runs: -#time for (( i = 0; i < 5; i++ )); do (db) 2>&1 >/dev/null; done -#echo -#echo ============================ -#echo db-benchmark-test single transactions -#dbtxn -#echo Time for 5 runs: -#time for (( i = 0; i < 5; i++ )); do (dbtxn) 2>&1 >/dev/null; done -#echo -#echo ============================ -#echo db-benchmark-test single transactions ABORT at end -#dbabort -#echo Time for 5 runs: -#time for (( i = 0; i < 5; i++ )); do (dbabort) 2>&1 >/dev/null; done -#echo -#echo ============================ -#echo flattening scanscan -#flatteningscan -#echo Time for 5 runs: -#time for (( i = 0; i < 5; i++ )); do (flatteningscan) 2>&1 >/dev/null; done -#echo -#echo ============================ -#echo flattening scanscan on txn db -#flatteningtxnscan -#echo Time for 5 runs: -#time for (( i = 0; i < 5; i++ )); do (flatteningtxnscan) 2>&1 >/dev/null; done -#echo -#echo ============================ -#echo pre-flattened scanscan -#(flatteneddb) 2>&1 >/dev/null -#scan -#echo Time for 5 runs: -#time for (( i = 0; i < 5; i++ )); do (scan) 2>&1 >/dev/null; done -#echo -#echo ============================ +echo db-benchmark-test no transactions +db +echo Time for 5 runs: +time for (( i = 0; i < 5; i++ )); do (db) 2>&1 >/dev/null; done +echo +echo ============================ +echo db-benchmark-test single transactions +dbtxn +echo Time for 5 runs: +time for (( i = 0; i < 5; i++ )); do (dbtxn) 2>&1 >/dev/null; done +echo +echo ============================ +echo db-benchmark-test single transactions ABORT at end +dbabort +echo Time for 5 runs: +time for (( i = 0; i < 5; i++ )); do (dbabort) 2>&1 >/dev/null; done +echo +echo ============================ +echo flattening scanscan +flatteningscan +echo Time for 5 runs: +time for (( i = 0; i < 5; i++ )); do (flatteningscan) 2>&1 >/dev/null; done +echo +echo ============================ +echo flattening scanscan on txn db +flatteningtxnscan +echo Time for 5 runs: +time for (( i = 0; i < 5; i++ )); do (flatteningtxnscan) 2>&1 >/dev/null; done +echo +echo ============================ +echo pre-flattened scanscan +(flatteneddb) 2>&1 >/dev/null +scan +echo Time for 5 runs: +time for (( i = 0; i < 5; i++ )); do (scan) 2>&1 >/dev/null; done +echo +echo ============================ echo pre-flattened scanscan on txn db (flattenedtxndb) 2>&1 >/dev/null scan