File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,15 @@ subprojects {
104
104
main = ' org.openjdk.jmh.Main'
105
105
classpath = sourceSets. perf. runtimeClasspath + sourceSets. main. output
106
106
maxHeapSize = " 512m"
107
-
107
+ jvmArgs ' -XX:+UnlockCommercialFeatures'
108
+ jvmArgs ' -XX:+FlightRecorder'
109
+
108
110
if (project. hasProperty(' jmh' )) {
109
111
args(jmh. split(' ' ))
110
112
} else {
111
113
// args '-h' // help output
112
114
args ' -f' // fork
113
115
args ' 1'
114
- args ' -tu' // time unit
115
- args ' ns'
116
- args ' -bm' // benchmark mode
117
- args ' avgt'
118
116
args ' -wi' // warmup iterations
119
117
args ' 5'
120
118
args ' -i' // test iterations
@@ -128,7 +126,6 @@ subprojects {
128
126
// args 'HS_COMP' // HotSpot (tm) JIT compiler profiling via implementation-specific MBeans
129
127
// args 'HS_CL' // HotSpot (tm) classloader profiling via implementation-specific MBeans
130
128
// args 'STACK' // Simple and naive Java stack profiler
131
- args ' .*OperatorSerializePerf.*' // for running only a specific test
132
129
}
133
130
}
134
131
You can’t perform that action at this time.
0 commit comments