You can download and install the JMH plugin for Intellij IDEA for more convenient use. You can find the source code for this plugin on GitHub at the following link: https://github.com/artyushov/idea-jmh-plugin.
This plugin has the following features: