Nico Kruber created FLINK-17704: ----------------------------------- Summary: Allow running specific benchmarks from maven directly Key: FLINK-17704 URL: https://issues.apache.org/jira/browse/FLINK-17704 Project: Flink Issue Type: Improvement Components: Benchmarks Reporter: Nico Kruber Assignee: Nico Kruber Fix For: 1.11.0
Sometimes it would be nice to run a specific benchmark from maven directly. Currently this can be done via: {code:java} mvn -Dflink.version=1.11-SNAPSHOT clean package exec:exec -Dexec.executable=java -Dexec.args="-jar target/flink-hackathon-benchmarks-0.1.jar -rf csv org.apache.flink.benchmark.StreamNetworkThroughputBenchmarkExecutor"{code} but this is quite cumbersome and erroneous. Instead, I propose to simply define a property which by default runs all benchmarks but can be overridden on the command line to run a specific pattern (that is interpreted by JMH) like this: {code:java} mvn -Dflink.version=1.11-SNAPSHOT exec:exec -Dbenchmarks="org.apache.flink.benchmark.StreamNetworkThroughputBenchmarkExecutor" {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)