Skip to content

Commit 7b3dc82

Browse files
committed
Benchmark for cuckoo filters at 31.5 million keys (where fpp for 2^n and not-2^n are similar)
1 parent af2ff2a commit 7b3dc82

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

benchmarks/benchmark-cuckoo315.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/sh
2+
# run the benchmark multiple times with all important algorithms
3+
# for algorithm ids and other parameters, see
4+
# bulk-insert-and-query.cc
5+
#
6+
# rnd: random number generators to use
7+
for rnd in `seq -1 -1`; do
8+
# alg: algorithms to test
9+
for alg in 11 12 13 15 16 17; do
10+
# m: number of entries
11+
for m in 315; do
12+
# test: test id
13+
for test in `seq 1 3`; do
14+
now=$(date +"%T");
15+
echo ${now} alg ${alg} size ${m} ${rnd};
16+
./bulk-insert-and-query.exe ${m}00000 ${alg} ${rnd};
17+
done;
18+
done;
19+
done;
20+
done > benchmark-results.txt 2>&1

0 commit comments

Comments
 (0)