Generation of list of benchmarks from IntelliJ IDEA

Aleksey Shipilev aleksey.shipilev at
Mon Jan 12 19:12:28 UTC 2015

On 01/12/2015 04:36 PM, Aleksey Shipilev wrote:
> On 01/06/2015 06:30 PM, Aleksey Shipilev wrote:
>> On 01/05/2015 12:39 PM, Evgeny Mandrikov wrote:
>>> There is weird behavior when running benchmarks from IntelliJ IDEA: "No
>>> benchmarks to run; check the include/exclude regexps." is reported each
>>> time after modification of non-benchmark Java-files, but which are located
>>> in module with benchmarks. I can reproduce this with latest IntelliJ IDEA
>>> 14.0.2 and the same was with version 13. And this is a bit annoying.
> Submitted:
> What's going on now? Do you want to tackle this on your own? My concern
> is that this issue has a cross-cutting implications for multiple
> benchmark generators, etc. I can still walk you through these if you want.

Anyhow, I was playing with this code, and accidentally came close to
committable fix. Pushed after some testing:

Please try to run the current "tip" in your original scenario, does it
fix the usability issue, or is the root cause different?


P.S. I still believe we may have cleaner fix with per-benchmark
configuration, filed:

More information about the jmh-dev mailing list