Food for tests: @Param support in JMH

Aleksey Shipilev aleksey.shipilev at oracle.com
Sun Feb 16 06:40:39 PST 2014


Hi there, early adopters and bleeding edge ninjas!

We had just committed the basic support for @Params in JMH, and would
like to hear some testing experiences about it, before we promote it to
"stable" builds. There is a fair amount of (unit/integration) tests
already, but some things may not behave as intended. It should not
affect current parameter-less code, for starters.

Here is the relevant sample:
 http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_27_Params.java

Thanks,
-Aleksey


More information about the jmh-dev mailing list