diff options
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 |