Description of the problem / feature request:
Currently bazel-bench isn't able to benchmark incremental builds due to the following reasons:
- Does not allow running
--warm_up=n runs prior to the benchmark --runs=n
- Does not allow toggling
--shutdown and --clean to allow us to toggle whether or not to run blaze shutdown / clean (currently runs both by default).
- Does not allow patching of code, should be done via specifying a
--patch_file.
Feature requests: what underlying problem are you trying to solve with this feature?
Allows users to benchmark the incremental case, by:
- Specifying
--warm_up runs to warm up the blaze cache.
- Do not
shutdown or clean in between runs so that we run with a warm blaze cache.
- Apply the patch file in-between runs to simulate code changes.
Description of the problem / feature request:
Currently bazel-bench isn't able to benchmark incremental builds due to the following reasons:
--warm_up=nruns prior to the benchmark--runs=n--shutdownand--cleanto allow us to toggle whether or not to runblaze shutdown / clean(currently runs both by default).--patch_file.Feature requests: what underlying problem are you trying to solve with this feature?
Allows users to benchmark the incremental case, by:
--warm_upruns to warm up the blaze cache.shutdownorcleanin between runs so that we run with a warm blaze cache.