File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ buildscript {
1212 mavenCentral()
1313 jcenter()
1414 }
15-
15+
1616 apply from : file(' gradle/buildscript.gradle' ), to : buildscript
1717}
1818
@@ -81,6 +81,28 @@ subprojects {
8181 task benchmarks(type : JavaExec ) {
8282 main = ' org.openjdk.jmh.Main'
8383 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
84106 }
85107
86108}
You can’t perform that action at this time.
0 commit comments