Generation of list of benchmarks from IntelliJ IDEA
Aleksey Shipilev
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
> -DskipTests"
> 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.
Okay, thanks.
The attached patch might help to trace how benchmark list merge is
happening. javac warnings are accessible in IDEA "Messages" view.
Thanks,
-Aleksey.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark-list-merge-trace.patch
Type: text/x-patch
Size: 1368 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jmh-dev/attachments/20150113/bfc57e12/benchmark-list-merge-trace.patch>
More information about the jmh-dev
mailing list