Skip to content

Commit d33b063

Browse files
mp911dechristophstrobl
authored andcommitted
Relocate benchmarks to core module.
Original Pull Request: #4819
1 parent 1075a25 commit d33b063

File tree

12 files changed

+23
-209
lines changed

12 files changed

+23
-209
lines changed

pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@
125125

126126
<profiles>
127127
<profile>
128-
<id>benchmarks</id>
129-
<modules>
130-
<module>spring-data-mongodb</module>
131-
<module>spring-data-mongodb-distribution</module>
132-
<module>spring-data-mongodb-benchmarks</module>
133-
</modules>
128+
<id>jmh</id>
129+
<repositories>
130+
<repository>
131+
<id>jitpack.io</id>
132+
<url>https://jitpack.io</url>
133+
</repository>
134+
</repositories>
134135
</profile>
135136
<profile>
136137
<id>mongo-4.x</id>

spring-data-mongodb-benchmarks/README.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

spring-data-mongodb-benchmarks/pom.xml

Lines changed: 0 additions & 112 deletions
This file was deleted.

spring-data-mongodb-benchmarks/src/main/resources/logback.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

spring-data-mongodb/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,21 @@
343343

344344
<plugins>
345345

346+
<plugin>
347+
<groupId>org.apache.maven.plugins</groupId>
348+
<artifactId>maven-compiler-plugin</artifactId>
349+
<configuration>
350+
<annotationProcessorPaths>
351+
<path>
352+
<groupId>org.openjdk.jmh</groupId>
353+
<artifactId>jmh-generator-annprocess</artifactId>
354+
<version>${jmh}</version>
355+
</path>
356+
</annotationProcessorPaths>
357+
358+
</configuration>
359+
</plugin>
360+
346361
<plugin>
347362
<groupId>com.mysema.maven</groupId>
348363
<artifactId>apt-maven-plugin</artifactId>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class AbstractMicrobenchmark {
4949

5050
static final int WARMUP_ITERATIONS = 5;
5151
static final int MEASUREMENT_ITERATIONS = 10;
52-
static final int FORKS = 0;
52+
static final int FORKS = 1;
5353
static final String[] JVM_ARGS = { "-server", "-XX:+HeapDumpOnOutOfMemoryError", "-Xms1024m", "-Xmx1024m",
5454
"-XX:MaxDirectMemorySize=1024m" };
5555

0 commit comments

Comments
 (0)