forked from I2P_Developers/i2p.i2p
Gradle: Integrate JMH benchmarks
Run with ./gradlew jmh --no-daemon
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'scala'
|
id 'scala'
|
||||||
|
id 'me.champeau.gradle.jmh' version '0.4.8'
|
||||||
}
|
}
|
||||||
|
|
||||||
archivesBaseName = 'i2p'
|
archivesBaseName = 'i2p'
|
||||||
@ -35,6 +36,11 @@ sourceSets {
|
|||||||
include 'net/i2p/crypto/eddsa/math/basePrecmp'
|
include 'net/i2p/crypto/eddsa/math/basePrecmp'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
jmh {
|
||||||
|
java {
|
||||||
|
srcDir 'java/bench'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Reference in New Issue
Block a user