ninjudd / drip

Fast JVM launching without the hassle of persistent JVMs.
Eclipse Public License 1.0
1.55k stars 69 forks source link

Gradle total time is wrong #85

Open SerialVelocity opened 9 years ago

SerialVelocity commented 9 years ago

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 9 years ago

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?