On Fri, 17 Jun 2022 12:59:17 GMT, Claes Redestad <redes...@openjdk.org> wrote:
> - Refactor micro using a range of parameters to a simpler benchmark that > tests different values in one pass > - Reduce iterations and their runtimes, but add forks (important to be able > to detect run-to-run variation anomalies) > > Just one micro modified in this package, but reduces total runtime from 16 > minutes to ~1 minute test/micro/org/openjdk/bench/java/text/DefFormatterBench.java line 65: > 63: @Benchmark > 64: public void testDefNumberFormatter(final Blackhole blackhole) { > 65: for (double value : values) { Should this now include `@OperationsPerInvocation(13)` since the loop is performing multiple operations per invocation? ------------- PR: https://git.openjdk.org/jdk/pull/9198