Files
turso/perf/throughput/rusqlite/scripts/bench.sh
Pekka Enberg 63895dfecd perf/throughput: Simplify benchmark output to CSV format
Remove verbose output from rusqlite benchmark and output only CSV
format: system,threads,batch_size,compute,throughput

This makes it easier to parse and plot benchmark results.
2025-10-01 11:06:27 +03:00

12 lines
283 B
Bash
Executable File

#!/bin/sh
cargo build --release
echo "system,threads,batch_size,compute,throughput"
for threads in 1 2 4 8; do
for compute in 0 100 500 1000; do
../../../target/release/write-throughput-sqlite --threads ${threads} --batch-size 100 --compute ${compute} -i 1000
done
done