SQLite/benchmarks/run_benchmarks.sh

45 lines
855 B
Bash
Raw Normal View History

2021-03-31 12:37:15 +02:00
#!/bin/bash
# Script for executing ALL benchmarks
# uncomment corresponding scripts to enable benchmark
# Failsafe to prevent execution of unwanted benchmarks
echo "Runtime of benchmarks can be up to 8h"
echo "The following benchmark scripts will be executed:"
if ! grep '^./run' ./run_benchmarks.sh
then
echo "No benchmarks enabled"
fi
echo "Are these the ONLY benchmarks you want to run?"
select answer in "y" "n"
do
case $answer in
y ) break;;
n ) exit;;
esac
done
2021-04-07 14:42:24 +02:00
echo "Started at $(date -I'seconds')"
2021-03-31 12:37:15 +02:00
# High contention, high conflict
# ~5h runtime
#./run_hchc.sh
# High contention, low conflict
# ~25min runtime
#./run_hclc.sh
# Low contention, low conflict
# ~25min runtime
#./run_lclc.sh
# Range queries
# ~8min runtime
#./run_rangequeries.sh
# Hashtable
# ~2h runtime
2021-04-07 14:42:24 +02:00
#./run_hashtable.sh
echo "Ended at $(date -I'seconds')"