Generation of list of benchmarks from IntelliJ IDEA
aleksey.shipilev at oracle.com
Mon Jan 12 21:34:22 UTC 2015
On 01/13/2015 12:27 AM, Evgeny Mandrikov wrote:
> I tested following scenario:
> a) close IDEA and remove project files
> b) rebuild jmh for b99ec1daf32d (hg id -i) with "mvn clean install
> c) update dependencies in pom.xml of my project for jmh-core
> and jmh-generator-annprocess
> d) open IDEA, import pom.xml , check dependencies and content
> of BenchmarkGenerator from dependencies to be sure that correct version
> is picked by IDEA
> e) Run MyBenchmark.main() - works
> f) Create another class in same package
> g) Run MyBenchmark.main() - "no benchmarks"
> h) Compile MyBenchmark.java - works as it was before
> I'll give a try for a project from archetype in attempt to find
> differences, but a bit later.
The attached patch might help to trace how benchmark list merge is
happening. javac warnings are accessible in IDEA "Messages" view.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1368 bytes
Desc: not available
More information about the jmh-dev