Skip to content

Commit

Permalink
Added jmh benchmark project
Browse files Browse the repository at this point in the history
  • Loading branch information
nagilooh committed Nov 4, 2024
1 parent cd61536 commit 0f88bfe
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@

# Ignore Gradle build output directory
build

.idea
17 changes: 17 additions & 0 deletions benchmark/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
plugins {
id("me.champeau.jmh") version "0.7.2"
}

repositories {
mavenCentral()
}

dependencies {
jmh(project(":logic"))
}

jmh {
warmupIterations = 2
iterations = 2
fork = 2
}
3 changes: 3 additions & 0 deletions benchmark/src/jmh/java/benchmark/ShinglerBenchmark.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package benchmark;

public class ShinglerBenchmark {}
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ include(
"logic",
"similarity",
"diversity",
"benchmark",
)

0 comments on commit 0f88bfe

Please sign in to comment.