You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/07/15 14:35:00 UTC

[jira] [Updated] (CALCITE-6470) Run specific JMH benchmarks without modifying sources

     [ https://issues.apache.org/jira/browse/CALCITE-6470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-6470:
------------------------------------
    Labels: pull-request-available  (was: )

> Run specific JMH benchmarks without modifying sources
> -----------------------------------------------------
>
>                 Key: CALCITE-6470
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6470
>             Project: Calcite
>          Issue Type: Improvement
>          Components: build
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> Currently we can run *all* JMH benchmarks of the project using the "jmh" Gradle task.
> {code:java}
> ./gradlew :ubenchmark:jmh
> {code}
> In many cases, we don't want to run all benchmarks but only one (or few) and this is not possible without modifying the Gradle build files (see https://github.com/melix/jmh-gradle-plugin/issues/152).
> The goal of this ticket is to add a (project) property (i.e., jmh.includes) to select the desired benchmarks via a regular expression that can be passed in the command line.
> {code:java}
> ./gradlew :ubenchmark:jmh -Pjmh.includes=ParserBenchmark
> {code}
> For example, the command above would run only the ParserBenchmark.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)