Hey—does anyone here know of any documentation, bl...
# community-support
b
Hey—does anyone here know of any documentation, blogs, or general guidance on debugging and understanding/debugging slow configuration times? We're seeing configuration phases on CI of 6—8 minutes at the moment (and there's no way that can be normal/expected), but I can't see anything obviously at fault in the build scans
v
Usually I'd say use the
gradle-profiler
to hopefully find out where the time is spent.
b
I'll give it a go-ty! The build scans already say that most of our time is spent during "Model configuration", not sure if the profiler goes much deeper? E.g. For one example run, 5m out of 6.5m are just model config:
Copy code
Serial configuration time 6m 24.171s		
Script compilation 0.000s		
Building included plugins 0.616s		
Model configuration	5m 1.844s		
Task graph calculation 20.654s		
Configuration resolution 24.527s		
Configuration caching 36.530s
v
Just to be clear, I'm not talking about
--profile
but about https://github.com/gradle/gradle-profiler With that you can run through async profiler, JProfiler, YourKit, or JFR and thus get complete insight on what spends which time. Whether it will help you to find out the potential culprit, you will see. 🙂
👀 1
🙌 1
a