diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-14 21:54:09 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-14 21:54:09 -0400 |
commit | fc6a77f510dc71ee083685543484b0b8bfa37978 (patch) | |
tree | a6149a7c579250eb08e3941be3f420b1a0f1d729 /README.org | |
parent | ef388c5e6848e7badb1d7e4ef44d571c9a2dbe94 (diff) | |
download | sqlite-kv-bench-fc6a77f510dc71ee083685543484b0b8bfa37978.tar.gz |
update README
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,8 +1,19 @@ * how to use First create the test database with ~scripts/mkdb.py~. +#+BEGIN_SRC_BASH +./scripts//mkdb.py --database /tmp/db --word-list /usr/share/dict/eff_large_wordlist.txt --num-records=1000000 --key-length=20-200 --value-length=10-100 +#+END_SRC + +Compile the bench executable with +#+BEGIN_SRC_BASH +meson setup build +meson configure --buildtype=release build +meson compile -C build +#+END_SRC + An example run of the benchmark: #+BEGIN_SRC_BASH -bench ${database} ${limit:-10000} ${seed:-${RANDOM}} +./build/bench ${database} ${limit:-10000} ${seed:-${RANDOM}} #+END_SRC |