Merge 'perf/throughput: Delete database before benchmark run' from Pekka Enberg

Let's reduce variance between benchmark runs by starting with an empty
database.

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>

Closes #3610
This commit is contained in:
Pekka Enberg
2025-10-07 13:44:34 +03:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ echo "system,threads,batch_size,compute,throughput"
for threads in 1 2 4 8; do
for compute in 0 100 500 1000; do
rm -f write_throughput_test.db*
../../../target/release/write-throughput-sqlite --threads ${threads} --batch-size 100 --compute ${compute} -i 1000
done
done

View File

@@ -6,6 +6,7 @@ echo "system,threads,batch_size,compute,throughput"
for threads in 1 2 4 8; do
for compute in 0 100 500 1000; do
rm -f write_throughput_test.db*
../../../target/release/write-throughput --threads ${threads} --batch-size 100 --compute ${compute} -i 1000 --mode concurrent
done
done