# JMH version: 1.25.2 # VM version: JDK 1.8.0_272, OpenJDK 64-Bit Server VM, 25.272-b10 # VM invoker: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java # VM options: -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=57599:/Applications/IntelliJ IDEA CE.app/Contents/bin -Dfile.encoding=UTF-8 # Warmup: 3 iterations, 10 s each # Measurement: 10 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 8 threads, will synchronize iterations # Benchmark mode: Throughput, ops/time # Benchmark: test.JmhBenchmark.testCompute # Run progress: 0.00% complete, ETA 00:05:20 # Fork: 1 of 2 # Warmup Iteration 1: 7543.070 ops/ms # Warmup Iteration 2: 7395.453 ops/ms # Warmup Iteration 3: 9378.146 ops/ms Iteration 1: 9850.435 ops/ms Iteration 2: 9632.183 ops/ms Iteration 3: 9839.925 ops/ms Iteration 4: 9608.783 ops/ms Iteration 5: 9790.819 ops/ms Iteration 6: 9568.690 ops/ms Iteration 7: 9524.370 ops/ms Iteration 8: 9594.993 ops/ms Iteration 9: 9554.236 ops/ms Iteration 10: 9764.940 ops/ms # Run progress: 25.00% complete, ETA 00:04:02 # Fork: 2 of 2 # Warmup Iteration 1: 7264.985 ops/ms # Warmup Iteration 2: 7180.448 ops/ms # Warmup Iteration 3: 9939.365 ops/ms Iteration 1: 9883.867 ops/ms Iteration 2: 10094.965 ops/ms Iteration 3: 9978.280 ops/ms Iteration 4: 9990.976 ops/ms Iteration 5: 9991.860 ops/ms Iteration 6: 10113.179 ops/ms Iteration 7: 9965.717 ops/ms Iteration 8: 9976.352 ops/ms Iteration 9: 10119.417 ops/ms Iteration 10: 10009.524 ops/ms Result "test.JmhBenchmark.testCompute": 9842.676 ±(99.9%) 174.507 ops/ms [Average] (min, avg, max) = (9524.370, 9842.676, 10119.417), stdev = 200.962 CI (99.9%): [9668.169, 10017.183] (assumes normal distribution) # JMH version: 1.25.2 # VM version: JDK 1.8.0_272, OpenJDK 64-Bit Server VM, 25.272-b10 # VM invoker: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java # VM options: -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=57599:/Applications/IntelliJ IDEA CE.app/Contents/bin -Dfile.encoding=UTF-8 # Warmup: 3 iterations, 10 s each # Measurement: 10 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 8 threads, will synchronize iterations # Benchmark mode: Throughput, ops/time # Benchmark: test.JmhBenchmark.testSearch # Run progress: 50.00% complete, ETA 00:02:41 # Fork: 1 of 2 # Warmup Iteration 1: 137.588 ops/ms # Warmup Iteration 2: 151.693 ops/ms # Warmup Iteration 3: 149.429 ops/ms Iteration 1: 147.000 ops/ms Iteration 2: 148.988 ops/ms Iteration 3: 139.010 ops/ms Iteration 4: 147.619 ops/ms Iteration 5: 145.949 ops/ms Iteration 6: 147.676 ops/ms Iteration 7: 150.671 ops/ms Iteration 8: 149.684 ops/ms Iteration 9: 150.355 ops/ms Iteration 10: 150.111 ops/ms # Run progress: 75.00% complete, ETA 00:01:20 # Fork: 2 of 2 # Warmup Iteration 1: 142.500 ops/ms # Warmup Iteration 2: 145.269 ops/ms # Warmup Iteration 3: 135.539 ops/ms Iteration 1: 140.264 ops/ms Iteration 2: 143.572 ops/ms Iteration 3: 142.075 ops/ms Iteration 4: 144.129 ops/ms Iteration 5: 144.535 ops/ms Iteration 6: 143.881 ops/ms Iteration 7: 142.996 ops/ms Iteration 8: 144.034 ops/ms Iteration 9: 143.978 ops/ms Iteration 10: 144.494 ops/ms Result "test.JmhBenchmark.testSearch": 145.551 ±(99.9%) 2.921 ops/ms [Average] (min, avg, max) = (139.010, 145.551, 150.671), stdev = 3.364 CI (99.9%): [142.630, 148.472] (assumes normal distribution) # Run complete. Total time: 00:05:23 REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial experiments, perform baseline and negative tests that provide experimental control, make sure the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts. Do not assume the numbers tell you what you want them to tell. Benchmark Mode Cnt Score Error Units JmhBenchmark.testCompute thrpt 20 9842.676 ± 174.507 ops/ms JmhBenchmark.testSearch thrpt 20 145.551 ± 2.921 ops/ms