Running mecirobenchmarks from IDE
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Jul 7 09:30:05 UTC 2014
On 07/06/2014 03:18 PM, Vladimir Ozerov wrote:
> Is it possible to run JMH from IDE without necessity to generate Maven
> artifacts? I.e. with just click "Run"?
IntelliJ IDEA runs jmh-samples just fine via the supplied main() methods.
> I tried to run it using samples with Runner class, and of course it doesn't
> work because it searches for /META-INF/BenchmarkList wihch is absent in my
> project.
> Therefore, it appears that currently there is no user-friendly way for
> instant benchmark run from IDE (e.g. for quick algorithm performance
> assesment). Am I missing something?
Your IDE (Eclipse, right?) must have an inferior support for build
systems: it should figure that you need to run the compilation with JMH
annotation processors to generate the metainfo.
-Aleksey.
More information about the jmh-dev
mailing list