From ad5301ae100b5828da4f6360c8e157617740d1c5 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sun, 17 Feb 2019 09:49:03 +0000 Subject: [PATCH] Gradle: Integrate JMH benchmarks Run with ./gradlew jmh --no-daemon --- core/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/build.gradle b/core/build.gradle index 6d0fc61d3e..2d34084620 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -1,6 +1,7 @@ plugins { id 'java-library' id 'scala' + id 'me.champeau.gradle.jmh' version '0.4.8' } archivesBaseName = 'i2p' @@ -35,6 +36,11 @@ sourceSets { include 'net/i2p/crypto/eddsa/math/basePrecmp' } } + jmh { + java { + srcDir 'java/bench' + } + } } dependencies { -- GitLab