mosche commented on code in PR #23041:
URL: https://github.com/apache/beam/pull/23041#discussion_r964637840


##########
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy:
##########
@@ -1411,8 +1413,13 @@ class BeamModulePlugin implements Plugin<Project> {
 
         project.tasks.register("jmh", JavaExec)  {
           dependsOn project.classes
-          mainClass = "org.openjdk.jmh.Main"
+          mainClass = "org.apache.beam.sdk.testutils.jmh.Main"
           classpath = project.sourceSets.main.runtimeClasspath
+
+          environment([
+            'INFLUXDB_MEASUREMENT': 'java_jmh_' + (getPath().split(':') - ['', 
'sdks', 'java', 'jmh']).join('_')

Review Comment:
   Very valid question and happy to discuss this... as long as benchmarks are 
in core (or core related modules) only I wouldn't consider this to be 
important. But assuming there could be benchmarks on IOs as well, it could be 
convenient to scope them in a more granular way. That makes it a bit easier to 
treat them differently. What do you think and what would be your preference 
@lukecwik ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to