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


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to