diff --git a/benchmark/README.md b/benchmark/README.md index 6ff3801..edc0497 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -8,6 +8,11 @@ To run the benchmarks, firstly run the build using: BUILD_BENCHMARK=1 make ``` +Then, make sure that the generated data is created using: +```shell +make generate-data +``` + Then to run a benchmark, use one of the benchmark Makefile targets prefixed with `bench-run-`: ```shell make bench-run-tpch-sf1 @@ -19,9 +24,18 @@ To create a plot from the results run: make plot ``` -## Configurations options +## More options Specific benchmarks can be run from a suite using the `BENCHMARK_PATTERN` variable. For example to compare only Q01 from TPCH SF1, run: ```shell BENCHMARK_PATTERN=q01.benchmark make bench-run-tpch-sf1 +``` + +Also, we can run all local benchmarks using: +```shell +make bench-run-all-local +``` +Or all remote benchmarks using +```shell +make bench-run-all-remote ``` \ No newline at end of file diff --git a/benchmark/benchmark.Makefile b/benchmark/benchmark.Makefile index 3b88eb7..322d9eb 100644 --- a/benchmark/benchmark.Makefile +++ b/benchmark/benchmark.Makefile @@ -63,3 +63,4 @@ bench-run-tpcds-sf1: bench-run-tpcds-sf1-delta bench-run-tpcds-sf1-parquet ### bench-run-all-local: bench-run-tpcds-sf1 bench-run-tpch-sf1 +bench-run-all-remote: bench-run-tpch-sf1-remote