Warmup period can be useful before measuring to switch on generating native code.
JMH:
JDK benchmark tool