java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

Add JMH Benchmarks for the critical code paths

Open aepfli opened this issue 1 year ago • 2 comments
trafficstars

Our tool is excellent, but more and more people are using it. We already received internal information, that some code paths tend to be hotspots, especially structure operations.

Evaluating this without a proper test harness around it is hard; hence, it might be a good idea to add a JMH Suite to our tests for verification and to allow us to spot hotspots earlier in the future.

  • https://github.com/openjdk/jmh
  • https://www.baeldung.com/java-microbenchmark-harness

aepfli avatar Oct 07 '24 08:10 aepfli