Search code examples
javaframeworksbenchmarking

Java 8 framework for microbenchmarking


I would like some suggestions for open-source framworks to do micro-benchmarking in java 8. For example, to perform the same tests as with the Golang language.

Thanks


Solution

  • Use JMH:

    JMH is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targetting the JVM.