mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-01 06:14:23 +01:00
perf/throughput: Delete database before benchmark run
Let's reduce variance between benchmark runs by starting with an empty database.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user