add scan test

This commit is contained in:
2025-11-21 12:04:52 +08:00
parent 9f6434dba1
commit 6c1ea2f56a
15 changed files with 58 additions and 16 deletions
+6
View File
@@ -32,6 +32,12 @@ function samples() {
echo "mixed threads $i ksz ${kv_sz[j]} vsz ${kv_sz[j+1]} fail"
exit 1
fi
./target/release/kv_bench --path /home/abby/mace_bench --threads $i --iterations $cnt --mode scan --key-size ${kv_sz[j]} --value-size ${kv_sz[j+1]} --insert-ratio 30
if test $? -ne 0
then
echo "mixed threads $i ksz ${kv_sz[j]} vsz ${kv_sz[j+1]} fail"
exit 1
fi
done
done
}