File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ buildscript {
12
12
mavenCentral()
13
13
jcenter()
14
14
}
15
-
15
+
16
16
apply from : file(' gradle/buildscript.gradle' ), to : buildscript
17
17
}
18
18
@@ -81,6 +81,28 @@ subprojects {
81
81
task benchmarks(type : JavaExec ) {
82
82
main = ' org.openjdk.jmh.Main'
83
83
classpath = sourceSets. perf. runtimeClasspath + sourceSets. main. output
84
+ maxHeapSize = " 512m"
85
+ // args '-h' // help output
86
+ args ' -f' // fork
87
+ args ' 1'
88
+ args ' -tu' // time unit
89
+ args ' ns'
90
+ args ' -bm' // benchmark mode
91
+ args ' avgt'
92
+ args ' -wi' // warmup iterations
93
+ args ' 5'
94
+ args ' -i' // test iterations
95
+ args ' 5'
96
+ args ' -r' // time per execution in seconds
97
+ args ' 1'
98
+ // args '-prof' // profilers
99
+ // args 'HS_GC' // HotSpot (tm) memory manager (GC) profiling via implementation-specific MBeans
100
+ // args 'HS_RT' // HotSpot (tm) runtime profiling via implementation-specific MBeans
101
+ // args 'HS_THR' // HotSpot (tm) threading subsystem via implementation-specific MBeans
102
+ // args 'HS_COMP' // HotSpot (tm) JIT compiler profiling via implementation-specific MBeans
103
+ // args 'HS_CL' // HotSpot (tm) classloader profiling via implementation-specific MBeans
104
+ // args 'STACK' // Simple and naive Java stack profiler
105
+ // args '.*OperatorSerializePerf.*' // for running only a specific test
84
106
}
85
107
86
108
}
You can’t perform that action at this time.
0 commit comments