Skip to content

Commit

Permalink
Decrease benchmark parameters to run faster on teamcity
Browse files Browse the repository at this point in the history
  • Loading branch information
qurbonzoda committed Jun 21, 2019
1 parent e809c6b commit ab42e81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions benchmarks-libraries/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ jmh {
resultFormat = "csv"

warmup = '500ms'
warmupIterations = 10
timeOnIteration = '1000ms'
iterations = 20
warmupIterations = 7
timeOnIteration = '500ms'
iterations = 10

benchmarkMode = ['avgt']

benchmarkParameters = [
'size':['1', '10', '100', '1000', '10000'],
// 'implementation': ['hash'],
'hashCodeType':['random', 'collision'],
'immutablePercentage':['0.0', '50.0', '80.0']
'immutablePercentage':['0.0', '80.0']
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ abstract class SourceGenerator {

fun generate(out: PrintWriter) {
out.println(readCopyrightNoticeFromProfile(File(".idea/copyright/apache_2_0.xml")))
// Don't include generator class name in the message: these are built-in sources,
// and we don't want to scare users with any internal information about our project
out.println("// Auto-generated file. DO NOT EDIT!")
out.println()
out.println("package ${getPackage()}")
Expand Down

0 comments on commit ab42e81

Please sign in to comment.