How to measure distribution rate using jmh?
1 answer
JMH does not have an accurate measurement of the distribution rate. This is a job for a profiler like Java Mission Control. In JMH, you can roughly estimate the distribution pressure by observing the GC count through MXBeans. This is wrapped by JMH profilers for example. -prof gc
... Use -lprof
to get a list of built-in profilers.
+8
source to share