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

Make warmup parameter more customizable

Open pvegh opened this issue 3 years ago • 2 comments

I'd like to be able to set warmup to be 0. Currently the minimum is 1.

It should be my decision because:

  • maybe I want to test on current temperatures
  • if it's a Laptop, warming it up more might defy the purpose of my testing

Also warmup for the 2nd and later measured builds seem unnecessary to me since we're already warmed up. Consecutive warmups make the machine uselessly hot and slow if it's e.g. a laptop. Maybe it's not what I want to be measuring, so skipping those warmups is what I would like for my test.

pvegh avatar Mar 18 '21 15:03 pvegh

Our plugin is expericning OOM issues and the only build I can reliably reproduce it on takes 3 hours to build. I'd really like to skip the warmup part and just profile the heap with async profiler (also not even sure if warmup makes sense for heap profiling)

IgnatBeresnev avatar Jan 24 '22 13:01 IgnatBeresnev

I want to add that the most simple case of profiling a build will always warm up not only the daemon, but also the project, giving UP-TO-DATE tasks everywhere. But there is no simple commandline option for cleanup-tasks, so the "Advanced profiling scenarios" have to be used even in the most simplest cases.

mr1chter avatar Nov 29 '22 16:11 mr1chter