File tree Expand file tree Collapse file tree
src/jmh/java/datadog/context Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,15 +114,15 @@ dependencies {
114114jmh {
115115 jmhVersion = libs. versions. jmh. get()
116116 duplicateClassesStrategy = DuplicatesStrategy . EXCLUDE
117- if (project. hasProperty(' jmhIncludes ' )) {
118- includes = [project. jmhIncludes ]
117+ if (project. hasProperty(' jmh.includes ' )) {
118+ includes = [project. getProperty( ' jmh.includes ' ) ]
119119 }
120- if (project. hasProperty(' jmhProfilers ' )) {
121- profilers = [project. jmhProfilers ]
120+ if (project. hasProperty(' jmh.profilers ' )) {
121+ profilers = [project. getProperty( ' jmh.profilers ' ) ]
122122 }
123- if (project. hasProperty(' jmhJvm ' )) {
123+ if (project. hasProperty(' testJvm ' )) {
124124 jvm = project. javaToolchains. launcherFor {
125- languageVersion = JavaLanguageVersion . of(project. jmhJvm as int )
125+ languageVersion = JavaLanguageVersion . of(project. testJvm as int )
126126 }. map { it. executablePath. asFile. absolutePath }
127127 }
128128}
Original file line number Diff line number Diff line change 3434 * <p>Run with:
3535 *
3636 * <pre>
37- * {@code ./gradlew :dd-trace-core:jmh -PjmhIncludes =ContextManagerBenchmark -PjmhJvm =25 -PjmhProfilers =gc}
37+ * {@code ./gradlew :dd-trace-core:jmh -Pjmh.includes =ContextManagerBenchmark -PtestJvm =25 -Pjmh.profilers =gc}
3838 * </pre>
3939 */
4040@ State (Scope .Benchmark )
Original file line number Diff line number Diff line change 2828 * <p>Run with:
2929 *
3030 * <pre>
31- * {@code ./gradlew :dd-trace-core:jmh -PjmhIncludes =ContextManagerDepthBenchmark -PjmhJvm =25 -PjmhProfilers =gc}
31+ * {@code ./gradlew :dd-trace-core:jmh -Pjmh.includes =ContextManagerDepthBenchmark -PtestJvm =25 -Pjmh.profilers =gc}
3232 * </pre>
3333 */
3434@ State (Scope .Benchmark )
You can’t perform that action at this time.
0 commit comments