gradle-profiler icon indicating copy to clipboard operation
gradle-profiler copied to clipboard

Turn off warm-up build

Open NightXlt opened this issue 2 years ago • 1 comments

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"
}

NightXlt avatar Jun 07 '22 02:06 NightXlt

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.

pvegh avatar Jun 23 '23 12:06 pvegh