mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-08 02:34:20 +01:00
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:
@@ -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