There are options that can be specified in order to control how a given benchmark target
runs. The following options can be set through [test environment variables](https://docs.bazel.build/versions/master/command-line-reference.html#flag--test_env):
*`PERF_SAMPLE_SIZE`: Benchpress performs measurements until `scriptTime` predictively no longer
decreases. It does this by using a simple linear regression with the amount of samples specified.
Defaults to `20` samples.
*`PERF_FORCE_GC`: If set to `true`, `@angular/benchpress` will run run the garbage collector
before and after performing measurements. Benchpress will measure and report the garbage
collection time.
*`PERF_DRYRUN`: If set to `true`, no results are printed and stored in a `json` file. Also
benchpress only performs a single measurement (unlike with the simple linear regression).
Here is an example command that sets the `PERF_DRYRUN` option:
```bash
yarn bazel test modules/benchmarks/src/tree/baseline:perf --test_env=PERF_DRYRUN=true