Add additional versions for benchmarking
MODIFY
dd-java-agent/benchmark/benchmark.gradle
dd-java-agent/benchmark/benchmark.gradle
@@ -50,7 +50,7 @@ jmh {
// Allows to include test sources into generate JMH jar, i.e. use it when benchmarks depend on the test classes.
duplicateClassesStrategy = 'fail'
- jmhVersion = '1.19' // Specifies JMH version
+ jmhVersion = '1.20' // Specifies JMH version
}
// configured as a separate task since the 'jmh' task did not like adding a javaagent argument.

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.2.11.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.2.11.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.2.11.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.2.12.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.2.12.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.2.12.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.3.0.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.3.0.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.3.0.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.3.1.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.3.1.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.3.1.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.3.2.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.3.2.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.3.2.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.3.3.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.3.3.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.3.3.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.4.0.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.4.0.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.4.0.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.4.1.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.4.1.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.4.1.jar differ

ADD
dd-java-agent/benchmark/releases/dd-java-agent-0.5.0.jar
dd-java-agent/benchmark/releases/dd-java-agent-0.5.0.jar
Binary files /dev/null and b/dd-java-agent/benchmark/releases/dd-java-agent-0.5.0.jar differ

MODIFY
dd-java-agent/benchmark/src/jmh/java/datadog/benchmark/ClassRetransformingBenchmark.java
dd-java-agent/benchmark/src/jmh/java/datadog/benchmark/ClassRetransformingBenchmark.java
@@ -81,6 +81,33 @@ public class ClassRetransformingBenchmark {
@Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.2.10.jar")
public static class WithAgent0210 extends ClassRetransformingBenchmark {}
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.2.11.jar")
+ public static class WithAgent0211 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.2.12.jar")
+ public static class WithAgent0212 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.3.0.jar")
+ public static class WithAgent030 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.3.1.jar")
+ public static class WithAgent031 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.3.2.jar")
+ public static class WithAgent032 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.3.3.jar")
+ public static class WithAgent033 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.4.0.jar")
+ public static class WithAgent040 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.4.1.jar")
+ public static class WithAgent041 extends ClassRetransformingBenchmark {}
+
+ @Fork(jvmArgsAppend = "-javaagent:releases/dd-java-agent-0.5.0.jar")
+ public static class WithAgent050 extends ClassRetransformingBenchmark {}
+
@Fork(jvmArgsAppend = "-javaagent:../build/libs/dd-java-agent.jar")
public static class WithAgent extends ClassRetransformingBenchmark {}
}

Add additional versions for benchmarking