SQLite/benchmarks/run_rangequeries.sh

20 lines
609 B
Bash
Raw Normal View History

2021-03-31 12:37:15 +02:00
#!/bin/bash
# script for executing benchmark for range queries
# create/clear benchmark subdirectory
mkdir -p rangequeries
rm -rf rangequeries/*
# copy raw files to correct location
cp /home/kreft/benchmark/benchmarks/fill_ranges_sqlite ./fill.txt
cp /home/kreft/benchmark/benchmarks/mixed_ranges_sqlite ./mixed.txt
echo "Executing range query benchmark"
for run in 1 2 3 4 5
do
echo "Executing run $run"
cat benchmark_run.txt | ../sqlite_binary >> ./rangequeries/messung.txt
2021-04-07 14:42:24 +02:00
echo "Executing run $run with index"
cat benchmark_run_index.txt | ../sqlite_binary >> ./rangequeries/messung_index.txt
2021-03-31 12:37:15 +02:00
done