JMH Benchmark Archetype: Kotlin

org.openjdk.jmh : jmh-kotlin-benchmark-archetype

Generates Kotlin benchmarking project, uses JMH bytecode processors

Dec 23, 2021

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.openjdk.jmh</groupId>
    <artifactId>jmh-kotlin-benchmark-archetype</artifactId>
    <version>1.34</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.openjdk.jmh:jmh-kotlin-benchmark-archetype library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.openjdk.jmh</groupId>
  <artifactId>jmh-kotlin-benchmark-archetype</artifactId>
  <version>1.34</version>
</dependency>
</dependencies>

To install org.openjdk.jmh:jmh-kotlin-benchmark-archetype library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.openjdk.jmh:jmh-kotlin-benchmark-archetype library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.openjdk.jmh:jmh-kotlin-benchmark-archetype:1.34'
}

Gradle Kotlin DSL: Add the org.openjdk.jmh:jmh-kotlin-benchmark-archetype library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.openjdk.jmh:jmh-kotlin-benchmark-archetype:1.34")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.openjdk.jmh:jmh-kotlin-benchmark-archetype library to your build.sbt file:

libraryDependencies += "org.openjdk.jmh" % "jmh-kotlin-benchmark-archetype" % "1.34"

4. Add dependency to a Grape project

Grape: Add an annotation org.openjdk.jmh:jmh-kotlin-benchmark-archetype library to your groovy script file:

@Grapes(
    @Grab('org.openjdk.jmh:jmh-kotlin-benchmark-archetype:1.34')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

Hibernate ORM 5.5 extra Types

4 usages
1.4k stars

Kaitai Struct is a declarative language used for describe various binary data structures using .ksy format. .ksy format can be compiled into the parser source code in target language. This library is a small collection of runtime methods used by the code generated by Kaitai Struct for Java.

8 usages
24 stars

More from Group

The jmh is a Java harness for building, running, and analysing nano/micro/macro benchmarks written in Java and other languages targeting the JVM.

812 usages

JMH benchmark generator, based on annotation processors.

656 usages

JMH benchmark generator, based on reflection.

103 usages

JMH benchmark generator, based on bytecode inspection.

102 usages

JMH benchmark generator, based on ASM bytecode manipulation.

30 usages
© 2022 JMaven.com