Skip to content

Commit

Permalink
small tweaks to benchmark readme and makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Jul 24, 2024
1 parent 34bb7fe commit 70aec0c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
1 change: 1 addition & 0 deletions benchmark/benchmark.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 70aec0c

Please sign in to comment.