libfilter icon indicating copy to clipboard operation
libfilter copied to clipboard

Benchmark for different filters

Open patelprateek opened this issue 3 years ago • 3 comments

Thanks for the amazing work. Can we please also add some benchmarking results for different filters. Trying to understand the Build latency , query latency , fpp rates and bits per value for these different filters to choose something that fits under some of opur sla requirements. use case is upper bound 50-100 million values to be added , for a given bits/value , what would be the memory size for the filter and build latency when adding huge number of elements to the filter

patelprateek avatar Sep 15 '22 02:09 patelprateek

Benchmarks are available in https://github.com/jbapple/libfilter/tree/master/cpp/extras/benchmarks

jbapple avatar Sep 15 '22 02:09 jbapple

ran make make cpp-world : throws error make[3]: Entering directory '/home/jupyter/libfilter/cpp/extras/test' g++ -std=c++17 -I /home/jupyter/libfilter/c/include -I /home/jupyter/libfilter/cpp/include -I /home/jupyter/libfilter/cpp/extras/include -I /home/jupyter/libfilter/cpp/extras/googletest/googletest/include -I googletest/googletest/include -W -Wall -Wextra -march=native -mtune=native -O3 -DNDEBUG -ggdb3 -Iinclude -MM block.cpp -o block.d.new block.cpp:5:10: fatal error: gtest/gtest.h: No such file or directory 5 | #include "gtest/gtest.h" | ^~~~~~~~~~~~~~~

patelprateek avatar Sep 15 '22 06:09 patelprateek

You need to initialize the git submodules first: git submodule update --init --recursive

jbapple avatar Sep 15 '22 14:09 jbapple