blob: 8b58bbf54193ba070037d2da17478b5ad0df8a28 (
plain)
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
|
description = 'Instrumentation: Benchmarks'
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "me.champeau.gradle:jmh-gradle-plugin:0.3.1"
}
}
apply plugin: "me.champeau.gradle.jmh"
jmh {
jmhVersion = '1.18'
warmupIterations = 10
iterations = 10
fork = 1
jvmArgs = "-server -Xms2g -Xmx2g"
}
dependencies {
compile project(':core'),
project(':core_impl')
project(':core_impl_java')
}
compileJmhJava {
options.compilerArgs = compileJava.options.compilerArgs
}
// Disable checkstyle if not java8.
checkstyleJmh.enabled = JavaVersion.current().isJava8Compatible()
|