Skip to content

Instantly share code, notes, and snippets.

@purplefox
Created December 7, 2012 13:28
Show Gist options
  • Save purplefox/4233283 to your computer and use it in GitHub Desktop.
Save purplefox/4233283 to your computer and use it in GitHub Desktop.
No daemon-
tim $ time ./mk vertx-testsuite:test -Dtest.single=JavaScriptIncludeTest
:vertx-core:compileJava UP-TO-DATE
:vertx-core:processResources UP-TO-DATE
:vertx-core:classes UP-TO-DATE
:vertx-core:jar UP-TO-DATE
:vertx-platform:compileJava
:vertx-platform:processResources UP-TO-DATE
:vertx-platform:classes
:vertx-platform:jar
:vertx-lang-groovy:compileJava UP-TO-DATE
:vertx-lang-groovy:compileGroovy
:vertx-lang-groovy:processResources UP-TO-DATE
:vertx-lang-groovy:classes
:vertx-lang-groovy:jar
:vertx-lang-java:compileJava
:vertx-lang-java:processResources UP-TO-DATE
:vertx-lang-java:classes
:vertx-lang-java:jar UP-TO-DATE
:vertx-lang-jruby:compileJava
:vertx-lang-jruby:processResources UP-TO-DATE
:vertx-lang-jruby:classes
:vertx-lang-jruby:jar UP-TO-DATE
:vertx-lang-jython:compileJava
:vertx-lang-jython:processResources UP-TO-DATE
:vertx-lang-jython:classes
:vertx-lang-jython:jar UP-TO-DATE
:vertx-lang-rhino:compileJava
:vertx-lang-rhino:processResources UP-TO-DATE
:vertx-lang-rhino:classes
:vertx-lang-rhino:jar UP-TO-DATE
:vertx-testframework:compileJava
> Building > :vertx-testframework:compileGroovy > Resolving dependencies ':vertx-testframework:groovyCopy:vertx-testframework:compileGroovy
:vertx-testframework:processResources UP-TO-DATE
:vertx-testframework:classes
:vertx-testframework:jar
:vertx-testsuite:compileJava UP-TO-DATE
:vertx-testsuite:compileGroovy UP-TO-DATE
:vertx-testsuite:processResources UP-TO-DATE
:vertx-testsuite:classes UP-TO-DATE
:vertx-testsuite:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:vertx-testsuite:compileTestGroovy UP-TO-DATE
:vertx-testsuite:processTestResources UP-TO-DATE
:vertx-testsuite:testClasses
:vertx-testsuite:test
org.vertx.java.tests.core.modincludes.JavaScriptIncludeTest > testSimpleInclude STANDARD_OUT
Deploying mod testmod1-1
Conf is {"main":"app1.js","includes":"testmod1-2"}
urls is [file:/home/tim/projects/vert-x/vert.x/vertx-testsuite/src/test/mod-test/testmod1-1/]
created classloader
Loading included modules
in testmod1-1
org.vertx.java.tests.core.modincludes.JavaScriptIncludeTest > testSimpleInclude STANDARD_ERROR
Dec 07, 2012 1:25:29 PM org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: Starting test: testSimpleInclude
BUILD SUCCESSFUL
Total time: 22.622 secs
real 0m23.255s
user 0m1.004s
sys 0m0.716s
With daemon -
tim $ time ./mk vertx-testsuite:test -Dtest.single=JavaScriptIncludeTest
:vertx-core:compileJava UP-TO-DATE
:vertx-core:processResources UP-TO-DATE
:vertx-core:classes UP-TO-DATE
:vertx-core:jar UP-TO-DATE
:vertx-platform:compileJava
:vertx-platform:processResources UP-TO-DATE
:vertx-platform:classes
:vertx-platform:jar
:vertx-lang-groovy:compileJava UP-TO-DATE
:vertx-lang-groovy:compileGroovy
:vertx-lang-groovy:processResources UP-TO-DATE
:vertx-lang-groovy:classes
:vertx-lang-groovy:jar
:vertx-lang-java:compileJava
:vertx-lang-java:processResources UP-TO-DATE
:vertx-lang-java:classes
:vertx-lang-java:jar UP-TO-DATE
:vertx-lang-jruby:compileJava
:vertx-lang-jruby:processResources UP-TO-DATE
:vertx-lang-jruby:classes
:vertx-lang-jruby:jar UP-TO-DATE
:vertx-lang-jython:compileJava
:vertx-lang-jython:processResources UP-TO-DATE
:vertx-lang-jython:classes
:vertx-lang-jython:jar UP-TO-DATE
:vertx-lang-rhino:compileJava
:vertx-lang-rhino:processResources UP-TO-DATE
:vertx-lang-rhino:classes
:vertx-lang-rhino:jar UP-TO-DATE
:vertx-testframework:compileJava
> Building > :vertx-testframework:compileGroovy > Resolving dependencies ':vertx-testframework:groovyCopy:vertx-testframework:compileGroovy
:vertx-testframework:processResources UP-TO-DATE
:vertx-testframework:classes
:vertx-testframework:jar
:vertx-testsuite:compileJava UP-TO-DATE
:vertx-testsuite:compileGroovy UP-TO-DATE
:vertx-testsuite:processResources UP-TO-DATE
:vertx-testsuite:classes UP-TO-DATE
:vertx-testsuite:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:vertx-testsuite:compileTestGroovy UP-TO-DATE
:vertx-testsuite:processTestResources UP-TO-DATE
:vertx-testsuite:testClasses
:vertx-testsuite:test
org.vertx.java.tests.core.modincludes.JavaScriptIncludeTest > testSimpleInclude STANDARD_OUT
Deploying mod testmod1-1
Conf is {"main":"app1.js","includes":"testmod1-2"}
urls is [file:/home/tim/projects/vert-x/vert.x/vertx-testsuite/src/test/mod-test/testmod1-1/]
created classloader
Loading included modules
in testmod1-1
org.vertx.java.tests.core.modincludes.JavaScriptIncludeTest > testSimpleInclude STANDARD_ERROR
Dec 07, 2012 1:26:53 PM org.vertx.java.core.logging.impl.JULLogDelegate info
INFO: Starting test: testSimpleInclude
BUILD SUCCESSFUL
Total time: 11.329 secs
real 0m11.931s
user 0m0.860s
sys 0m0.672s
@purplefox
Copy link
Author

I can't always assume the daemon is there since often the process has to be aborted.

The time to actually run the tests is a small fraction of the overall time Gradle takes to setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment