drip icon indicating copy to clipboard operation
drip copied to clipboard

Gradle total time is wrong

Open SerialVelocity opened this issue 10 years ago • 1 comments

Waiting 45 seconds, then running gradle adds 45 seconds to the total time it says that it took:

> time ./gradlew printVersion
:printVersion
X

BUILD SUCCESSFUL

Total time: 5.424 secs
./gradlew printVersion  11.96s user 0.72s system 222% cpu 5.700 total
>  time ./gradlew printVersion
:printVersion
X

BUILD SUCCESSFUL

Total time: 50.972 secs
./gradlew printVersion  0.05s user 0.12s system 3% cpu 5.657 total

SerialVelocity avatar Oct 02 '14 11:10 SerialVelocity

This is probably a cradle problem...e.g. They may be using a static field to mark the start of execution. Can you investigate how they track this?

headius avatar Oct 03 '14 23:10 headius