- Install google/benchmark.
- Build the benchmarking executables:
mkdir build && cd build
cmake .. -GNinja && ninja
To reduce the variance, consider setting up your system appropriately following these instructions.
Cost functions:
./benchmark_cost_functions --benchmark_display_aggregates_only=true --benchmark_repetitions=50