mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-31 23:14:21 +01:00
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.
12 lines
283 B
Bash
Executable File
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
|