Generation of list of benchmarks from IntelliJ IDEA
Evgeny Mandrikov
mandrikov at gmail.com
Mon Jan 5 09:39:33 UTC 2015
Hi Aleksey,
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.
I didn't had time to investigate deeper, so just few quick questions:
Have you encountered this problem before?
Do you think that root cause is in the way IntelliJ IDEA executes
annotation processors, i.e. on their side? Or might it be that JMH violates
some annotation processor constraints?
In any case - do you think that JMH can be updated to prevent this? As an
option I can imagine that existing file will be updated by JMH instead of
overwrite. Do you see any obvious problem with such approach? If not, then
I'm willing to work on patch.
--
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_
More information about the jmh-dev
mailing list