JMH Benchmark Archetype: Scala

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

Generates Scala benchmarking project, uses JMH bytecode processors

Dec 23, 2021

Add dependency in Maven / Gradle

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

1. Add dependency to a Maven project

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

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

To install org.openjdk.jmh:jmh-scala-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-scala-benchmark-archetype library to the dependencies section of your build.gradle file:

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

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

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

3. Add dependency to a SBT Scala project

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

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

4. Add dependency to a Grape project

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

@Grapes(
    @Grab('org.openjdk.jmh:jmh-scala-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

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development

EPAM Report portal. Client

28 usages

Graph database client.

9k stars

clij-clearcl

14 usages
0 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