Skip to content

Commit e809c6b

Browse files
author
Abduqodiri Qurbonzoda
committed
Configure run parameters
1 parent d47e288 commit e809c6b

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

benchmarks-libraries/build.gradle

+16-10
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,24 @@ task generateBenchmarkSources(type: JavaExec) {
3636
}
3737

3838
jmh {
39-
include = ['immutableList', 'immutableMap', 'immutableSet']
40-
exclude = ['builder']
39+
// include = ['immutableList.*.Add', 'immutableMap', 'immutableSet']
40+
// exclude = ['builder']
41+
42+
profilers = ['gc']
43+
44+
resultFormat = "csv"
45+
46+
warmup = '500ms'
47+
warmupIterations = 10
48+
timeOnIteration = '1000ms'
49+
iterations = 20
4150

42-
warmup = '1s'
43-
warmupIterations = 5
44-
timeOnIteration = '1s'
45-
iterations = 5
4651
benchmarkMode = ['avgt']
52+
4753
benchmarkParameters = [
48-
'size':['10000'],
49-
'implementation': ['hash'],
50-
'hashCodeType':['random'],
51-
'immutablePercentage':['0']
54+
'size':['1', '10', '100', '1000', '10000'],
55+
// 'implementation': ['hash'],
56+
'hashCodeType':['random', 'collision'],
57+
'immutablePercentage':['0.0', '50.0', '80.0']
5258
]
5359
}

0 commit comments

Comments
 (0)