On May 31, 2009, at 9:21 PM, Peter Niederwieser wrote:


Hi,

first of all my congratulations to Gradle 0.6! I'm happy to say that
compiling and running Spock specifications now works just fine. Also I'm
impressed with the much improved build script DSL.

I have a HelloSpock project that contains a single Groovy class (a Spock specification). What puzzles me a bit is that 'gradle test' takes 10 seconds to complete. By comparison, 'ant test' takes 3 seconds, and 'mvn test' 8
seconds.

What version of Maven are you using?

This is on repeated invocation, i.e. all downloading and
compilation has already taken place. Do you consider this acceptable? Would
the difference be less pronounced for bigger projects?

First of all I'm surprised by the seven seconds difference. It would be interesting to see which areas are mostly responsible for this (startup time, dependency management, testing, ...). We will have a look at this. I assume it is less pronounced in larger projects. But we have to examine this to be sure.

Having said this, there are many aspects that affect build script performance. Where we focus on in 0.7 is to become smarter in regard to change detection. For larger builds that might me much more important than the startup time, if the latter is the reason for the above behavior.

Thanks a lot for checking this out

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to