diff options
author | Vincent Ambo <mail@tazj.in> | 2020-07-15T07·20+0100 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2020-07-15T07·20+0100 |
commit | 7f19d641647ac4ef313ed88d6b5c140983ce5436 (patch) | |
tree | 31b66c81465293da5c093c5dde3e419758c0d6cc /tools/reproduce-paper-results.bash |
Squashed 'third_party/immer/' content from commit ad3e3556d
git-subtree-dir: third_party/immer git-subtree-split: ad3e3556d38bb75966dd24c61a774970a7c7957e
Diffstat (limited to 'tools/reproduce-paper-results.bash')
-rwxr-xr-x | tools/reproduce-paper-results.bash | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/reproduce-paper-results.bash b/tools/reproduce-paper-results.bash new file mode 100755 index 000000000000..0ee2b98c3406 --- /dev/null +++ b/tools/reproduce-paper-results.bash @@ -0,0 +1,25 @@ +#!/bin/bash + +test -d build || mkdir -p build +cd build + +cmake .. \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -march=native" \ + -DCHECK_BENCHMARKS=1 \ + -DBENCHMARK_PARAM="N:1000" -DBENCHMARK_SAMPLES="100" +make benchmarks -j1 +ctest -R "benchmark/vector-paper*" + +cmake ..\ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -march=native" \ + -DCHECK_BENCHMARKS=1 \ + -DBENCHMARK_PARAM="N:100000" -DBENCHMARK_SAMPLES="20" +make benchmarks -j1 +ctest -R "benchmark/vector-paper*" + +cmake .. \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -march=native" \ + -DCHECK_BENCHMARKS=1 \ + -DBENCHMARK_PARAM="N:10000000" -DBENCHMARK_SAMPLES="3" +make benchmarks -j1 +ctest -R "benchmark/vector-paper*" |