1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
dependencies {
compile project(':main:autocode')
compile project(':main:ejml-all')
compile project(':main:ejml-cdense').sourceSets.benchmarks.output
compile project(':main:ejml-ddense').sourceSets.benchmarks.output
compile project(':main:ejml-dsparse').sourceSets.benchmarks.output
compile project(':main:ejml-fdense').sourceSets.benchmarks.output
compile project(':main:ejml-fsparse').sourceSets.benchmarks.output
compile project(':main:ejml-zdense').sourceSets.benchmarks.output
['core','generator-annprocess'].each { String a->
compile('org.openjdk.jmh:jmh-'+a+':1.27')
}
compile 'org.apache.commons:commons-lang3:3.7'
compile group: 'org.yaml', name: 'snakeyaml', version: '1.23'
compile group: 'args4j', name: 'args4j', version: '2.33'
compile 'com.sun.mail:javax.mail:1.6.0'
}
// Run the regression using a gradle command
// Currently this is the only way to get paths set up for benchmarks. See comment below.
//
// Example: ./gradlew runtimeRegression run --console=plain -Dexec.args="--SummaryOnly"
task runtimeRegression(type: JavaExec) {
dependsOn build
group = "Execution"
description = "Run the mainClass from the output jar in classpath with ExecTask"
classpath = sourceSets.main.runtimeClasspath
main = "org.ejml.RuntimeRegressionMasterApp"
args System.getProperty("exec.args", "").split()
}
// Creating a jar would be easier to pass in arguments with, but it seems like only the first
// META-INF/BenchmarkList it sees is used. This limited the benchmarks to one module
|