Generate JMH json report with `ant microbench`

patch by Mick Semb Wever; reviewed by Tomek Łasica for CASSANDRA-16371
This commit is contained in:
Mick Semb Wever 2021-02-08 10:55:58 +01:00
parent d3e48e4e00
commit d19f352437
No known key found for this signature in database
GPG Key ID: E91335D77E3E87CB
1 changed files with 8 additions and 0 deletions

View File

@ -1935,6 +1935,14 @@
<include name="**/*.jar" />
</fileset>
</classpath>
<arg value="-foe"/>
<arg value="true"/>
<arg value="-rf"/>
<arg value="json"/>
<arg value="-rff"/>
<arg value="${build.test.dir}/jmh-result.json"/>
<arg value="-v"/>
<arg value="EXTRA"/>
<arg value=".*microbench.*${benchmark.name}"/>
</java>
</target>