Skip to content

Commit 1857f55

Browse files
committed
Actually fix benchmarks
1 parent 858af09 commit 1857f55

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

apm-agent-benchmarks/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@
2929
</dependency>
3030
<dependency>
3131
<groupId>${project.groupId}</groupId>
32-
<artifactId>apm-web-plugin</artifactId>
32+
<artifactId>apm-servlet-plugin</artifactId>
33+
<version>${project.version}</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>${project.groupId}</groupId>
37+
<artifactId>apm-slf4j-plugin</artifactId>
3338
<version>${project.version}</version>
3439
</dependency>
3540
<dependency>

apm-agent-benchmarks/src/main/java/co/elastic/apm/benchmark/AbstractBenchmark.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
@State(Scope.Benchmark)
3636
@Warmup(iterations = 10)
3737
@Measurement(iterations = 10)
38+
// set value = 0 if you want to debug the benchmarks
3839
@Fork(value = 1, jvmArgsAppend = {
3940
"-Xmx1g",
4041
"-Xms1g"/*,

0 commit comments

Comments
 (0)