# Warmup: 5 iterations, 1 s each # Measurement: 5 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput, ops/time # Benchmark: JMH.JMHSample_05_StateFixtures.measureRight
Result "measureRight": 395929614.015 ±(99.9%) 10337928.122 ops/s [Average] (min, avg, max) = (393314885.110, 395929614.015, 399438984.759), stdev = 2684727.104 CI (99.9%): [385591685.893, 406267542.136] (assumes normal distribution)
# Warmup: 5 iterations, 1 s each # Measurement: 5 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput, ops/time # Benchmark: JMH.JMHSample_05_StateFixtures.measureWrong
java.lang.AssertionError: Nothing changed? at JMH.JMHSample_05_StateFixtures.check(JMHSample_05_StateFixtures.java:35) at JMH.generated.JMHSample_05_StateFixtures_measureWrong_jmhTest.measureWrong_Throughput(JMHSample_05_StateFixtures_measureWrong_jmhTest.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:430) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:412) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Result "measureWrong": 3132326929.859 ±(99.9%) 536855433.895 ops/s [Average] (min, avg, max) = (3020901214.195, 3132326929.859, 3204341135.065), stdev = 83078972.658 CI (99.9%): [2595471495.964, 3669182363.754] (assumes normal distribution)