On Jun 10, 2008, at 1:13 PM, Hans Dockter wrote:

Hi Ittay,

On Jun 10, 2008, at 12:57 PM, Ittay Dror wrote:

Here are the results:
> gradle -u -n -d -bgradlefile2 resources | grep Timing
13:56:58.634 [main] DEBUG o.g.initialization.ProjectsLoader - Timing: Loading projects took: 0.021 secs 13:56:58.903 [main] DEBUG o.g.a.i.project.BuildScriptProcessor - Timing: Parsing the build script took 0.254 secs 13:56:59.785 [main] DEBUG o.g.a.i.project.BuildScriptProcessor - Timing: Running the build script took 0.876 secs 13:56:59.805 [main] DEBUG o.g.a.i.project.DefaultProject - Timing: Project evaluation took 1.166 secs 13:56:59.809 [main] DEBUG o.g.configuration.BuildConfigurer - Timing: Configuring projects took 1.175 secs

I have observed something similar. It seems strange to me that running the build script takes that long. This is not the build execution after all, just executing the script to configure the build.

I have to investigate.

There is an issue to track this: http://jira.codehaus.org/browse/ GRADLE-114


Thanks

- Hans



Hans Dockter wrote:

On Jun 10, 2008, at 12:27 PM, Ittay Dror wrote:



Hans Dockter wrote:


On Jun 10, 2008, at 11:49 AM, Hans Dockter wrote:

Hi Ittay,

On Jun 10, 2008, at 9:24 AM, Ittay Dror wrote:


Hi,

hdockter wrote:

I haven't produced the new snapshot yet. I'm out of office until
Sunday, so it will be hopefully Monday.


Any updates?

Finally I have submitted it. I know that it is the wrong monday ;). Sorry.

If you start Gradle in debug mode (-d) search for log output that starts with 'Timing:'.

I have submitted it to both the release branch and trunk.

If you want to build you might use the skip properties to accelerate it:

gradle -Dskip.userguide -Dskip.javadoc -Dskip.test - Dskip.integTest clean dists

You might also use a SNAPSHOT from our CI-Servers.

For example: http://teamcity.jetbrains.com/viewLog.html? buildId=11818&buildTypeId=bt113&tab=artifacts

There is now a bin distribution without samples and source.

Trying to build I get this:
Can't access svn working copy. Maybe this is not an svn project or the codehausUserName/password property is not set. Releasing won't be possible. It is assumed that this isTrunk is true.

Build aborted anormally. Run with -s option to get stacktrace. Run with -d option to get all debug info including stacktrace. Run (additionally) with -f option to get the full (very verbose) stacktrace Exception: org.gradle.api.GradleScriptException: groovy.lang.MissingMethodException: No signature of method: org.gradle.api.tasks.bundling.Bundle.zip() is applicable for argument types: (java.util.LinkedHashMap) values: {["classifier":"all"]} Buildscript=gradlefile in line(s): 185 182

This is our hen-egg problem. The Gradle version in svn needs a newer version than 0.1.4 to be build. With the help of the gradle wrapper you can compile as it is (as a valid version to compile Gradle is in svn).

Just type:

./gradlew -Dskip.userguide -Dskip.javadoc -Dskip.test - Dskip.integTest clean dists

I'm going to upload a snapshot dist to our codehaus snapshot repository as well.

It is also time to create a developer page in our Wiki.



and trying to download: http://teamcity.jetbrains.com/repository/ download/bt113/11818:id/gradle-0.2-080610135404%2B0400-bin.zip, I get this:
Artifact does not exist: gradle-0.2-080610135404 0400-bin.zip

This looks like a problem with our CI server.

- Hans


- Hans




- Hans


For testing, attached are the gradlefile I use and the output of running gradle (the first line shows the command I run). It looks like groovy's startup is 0.7 seconds and that gradle's bootstrapping takes 2.2 seconds.
http://www.nabble.com/file/p17749311/gradlefile gradlefile
http://www.nabble.com/file/p17749311/output output

Ittay


--
View this message in context: http://www.nabble.com/ performance-tp17504383p17749311.html
Sent from the gradle-user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email



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





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

   http://xircles.codehaus.org/manage_email



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





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

   http://xircles.codehaus.org/manage_email



-- -- Ittay Dror <[EMAIL PROTECTED]>

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





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

   http://xircles.codehaus.org/manage_email



--
--
Ittay Dror <[EMAIL PROTECTED]>


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

   http://xircles.codehaus.org/manage_email



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





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

   http://xircles.codehaus.org/manage_email



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





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

   http://xircles.codehaus.org/manage_email


Reply via email to