[GRADLE-2780] Performance degradation in build script compilation when using 1.6 Created: 16/May/13 Updated: 17/May/13 Resolved: 17/May/13 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.7-rc-1 |
Type: | Bug | ||
Reporter: | Gradle Forums | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Description |
Hello All, After the other day having switched over to Gradle 1.6 from Gradle 1.5 I have noticed a significant performance decrease in the initial configuration step in Gradle 1.6 compared to the 1.5 version. With initial invocation of gradle I mean after having done a clean code checkout invoking Gradle for the very first time. See numbers below. Are you aware of any performance issue associated with the 1.6 version? I have not adjusted my build script for changes pending (for Gradle 2.0) so I do see some new deprication messages. My Gradle project is fairly large I'd imagine. It is a multiproject containing 198 subprojects. Performance numbers for an initial 'gradle tasks' Gradle 1.6: Profile: Dependency resolution 1.125s Gradle 1.5: Profile: Dependency resolution 1.164s Across the board the configuration time per subproject is about twice that of Gradle 1.5. The other items are virtually identical. Subsequent invocations of 'gradle tasks' are done in ~35s for both Gradle 1.5 and 1.6. I hope this aids you in your analysis. Thank you, |
Comments |
Comment by Gradle Forums [ 16/May/13 ] |
Hi, Thanks for the report. This is the first time we are hearing about this, so we don't know what it is yet. I don't suppose we can get access to your build to run it with a profiler? We need more information in order to work out what is going on. If you're able to, it would be extremely helpful if you could run the build with YourKit attached and send us the exported results ([1]http://www.yourkit.com/docs/90/help/e...). If you're willing to do this but need help, please let me know and we can work it out. |
Comment by Gradle Forums [ 16/May/13 ] |
Hi Luke, I'm willing to try it out, Yourkit have a 15 day evaluation license for their profiler so I have downloaded it. I need you to keep the information within Gradleware though. Where should I send the data and will a csv export of a snapshot of the configuration step be sufficient for you? Thanks, |
Comment by Gradle Forums [ 16/May/13 ] |
That would be perfect. You can contact me directly via [1]luke.daley@gradleware.com. Thanks for your cooperation. |