Gradle total time is wrong
SerialVelocity opened this issue · 1 comments
SerialVelocity commented
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
headius commented
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?