reposting for a colleague not in this slack. This ...
# community-support
t
reposting for a colleague not in this slack. This is about gradle-profiler if I were to have a benchmark scenario like this:
Copy code
clean_build_cash_internal_debug {
    title = "Clean Build"
    tasks = [" app:assembleInternalDebug"]
    daemon = warm
    clear-configuration-cache-state-before = SCENARIO
    clear-build-cache-before = SCENARIO
    clear-project-cache-before = SCENARIO
}
Does
SCENARIO
mean that these will be run once before the benchmarking kicks off? and
BUILD
would mean before each iteration without adding to the duration of that iteration ? This isn't super clear: https://github.com/gradle/gradle-profiler#profiling-incremental-builds I think what those values mean (SCENARIO vs BUILD) is that the former will run before the scenario begins and the latter will run before each iteration. There's also
CLEANUP
, and I'm not sure if that's after the scenario is finished or after each build. I also assume that all of these
clear...
options do not impact the measured duration of the benchmarked build, but I'm not 100% sure.