fix JVM optimizing out the benchmarking code