gradle-profiler
gradle-profiler copied to clipboard
Turn off warm-up build
I found every profile starts with warm-up build, so the all tasks of next measured build would be UP_TO_DATE. I've already tried --no-daemon
and --cold-daemon
args, but it also launch warm-up
build.
I wanna turn off warm-up build to mock real world first build. Here are my scenario:
clean_assemble {
title = "Clean Build"
tasks = ["assembleApinkDebug"]
gradle-args = ["--parallel"]
cleanup-tasks = ["clean"]
daemon = none // value can be "warm", "cold", or "none"
}
I want to turn off warm up because it should be my decision how I want to profile. Maybe the machine is already warmed up and it's not necessary.