alexme951
Из этого всего - использование jmh - это круто, классно и правильно, но само измерение имхо единственно что может сделать - натолкнуть на неправильные выводы.
Дисклеймер в jmh порадовал
REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
experiments, perform baseline and negative tests that provide experimental control, make sure
the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
Do not assume the numbers tell you what you want them to tell.