plugins { id "me.champeau.gradle.jmh" version "0.4.8" } dependencies { implementation 'software.amazon.cryptools:AmazonCorrettoCryptoProvider:1.1.0:linux-x86_64' } jmh { // See https://github.com/melix/jmh-gradle-plugin for more configuration options failOnError = true warmupIterations = 10 iterations = 20 fork = 1 timeOnIteration = '500ms' warmup = '500ms' // Time units options: [m, s, ms, us, ns] timeUnit = 'ns' // Benchmark mode. Available modes are: [Throughput/thrpt, AverageTime/avgt, SampleTime/sample, SingleShotTime/ss, All/all] benchmarkMode = ['avgt'] resultFormat = 'json' resultsFile = file("${buildDir}/reports/jmh/results.json") } jmhJar.baseName = 'custom'