On 3/28/11 18:28 , Niclas Hedhman wrote:
On Mon, Mar 28, 2011 at 12:53 PM, Rickard Öberg<[email protected]> wrote:
Hi,
I'm seeing some abysmally poor Gradle performance. If I do e.g. "gradlew
idea" (generate Idea modules/project), and attach to it using VisualVM, the
CPU usage is somewhere between 1%-10%. I.e. the poor performance seems to be
due to not doing anything.
Does anyone have any idea why this is, and how to fix it? Why is it that
low, and not closer to 100%?
I don't know what you mean by 'poor', but yes it isn't fast. I suspect
it is network related, probably picking up missing -source.jar files.
Put in --debug to see details.
I have been trying to get as much as possible out of the normal 'build
cycle' as possible, to get the times down, and most of it is now
outside the default task. Note however that the default is no longer
'build', so "./gradlew build" is much slower than "./gradlew"...
Ok. As above, "poor" is when CPU usage is around 1%, sometimes spiking
to 10%. If it was using 100% and still slow, that would be much better.
Right now it feels like I have lots of potential that simply isn't being
used, and I don't know what can be done about it. I noticed that it's
running on "Server" VM. I tried switching to "Client" VM, but no success
(does Client even exist anymore?).
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev