According to JEP 230: Microbenchmark Suite, there exists a microbenchmark suite built-in to Java 12. The JEP explains that it's basically JMH, but without needing to explicitly depend on it using Maven/Gradle. However, it doesn't specify how to go about accessing the classes/annotations that belong to the suite to perform a benchmark.
My questions are:
- Is there a specific Java module that I need to require in my
module-info.java
to be able to use this suite? - What package(s) are the classes/annotations of this suite located in?
- Are there any major differences between this suite and JMH?