Created
March 10, 2014 19:15
-
-
Save gluck/9472212 to your computer and use it in GitHub Desktop.
Gradle task to run JMH benchmarks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JMH files along tests, but s/test/perf/ will work just fine to separate | |
task(runJmh, dependsOn: 'testClasses', type: JavaExec) { | |
main = 'org.openjdk.jmh.Main' | |
args '".*"' | |
classpath = sourceSets.test.runtimeClasspath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment