# 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=56332:/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.EncodingBenchmark.testCopyString # Run progress: 0.00% complete, ETA 00:05:20 # Fork: 1 of 2 # Warmup Iteration 1: 107.698 ops/ms # Warmup Iteration 2: 110.658 ops/ms # Warmup Iteration 3: 117.278 ops/ms Iteration 1: 120.466 ops/ms Iteration 2: 114.855 ops/ms Iteration 3: 115.859 ops/ms Iteration 4: 100.856 ops/ms Iteration 5: 85.758 ops/ms Iteration 6: 90.690 ops/ms Iteration 7: 91.512 ops/ms Iteration 8: 96.426 ops/ms Iteration 9: 96.695 ops/ms Iteration 10: 106.974 ops/ms # Run progress: 25.00% complete, ETA 00:04:03 # Fork: 2 of 2 # Warmup Iteration 1: 103.489 ops/ms # Warmup Iteration 2: 120.517 ops/ms # Warmup Iteration 3: 104.409 ops/ms Iteration 1: 78.545 ops/ms Iteration 2: 107.329 ops/ms Iteration 3: 106.505 ops/ms Iteration 4: 111.143 ops/ms Iteration 5: 104.540 ops/ms Iteration 6: 108.069 ops/ms Iteration 7: 107.107 ops/ms Iteration 8: 109.457 ops/ms Iteration 9: 109.709 ops/ms Iteration 10: 116.048 ops/ms Result "test.EncodingBenchmark.testCopyString": 103.927 ±(99.9%) 9.502 ops/ms [Average] (min, avg, max) = (78.545, 103.927, 120.466), stdev = 10.943 CI (99.9%): [94.425, 113.429] (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=56332:/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.EncodingBenchmark.testMovePoint # Run progress: 50.00% complete, ETA 00:02:42 # Fork: 1 of 2 # Warmup Iteration 1: 27.451 ops/ms # Warmup Iteration 2: 28.404 ops/ms # Warmup Iteration 3: 28.331 ops/ms Iteration 1: 28.131 ops/ms Iteration 2: 28.328 ops/ms Iteration 3: 24.448 ops/ms Iteration 4: 20.360 ops/ms Iteration 5: 24.936 ops/ms Iteration 6: 26.610 ops/ms Iteration 7: 26.667 ops/ms Iteration 8: 26.159 ops/ms Iteration 9: 29.474 ops/ms Iteration 10: 30.294 ops/ms # Run progress: 75.00% complete, ETA 00:01:21 # Fork: 2 of 2 # Warmup Iteration 1: 28.980 ops/ms # Warmup Iteration 2: 21.356 ops/ms # Warmup Iteration 3: 24.096 ops/ms Iteration 1: 26.546 ops/ms Iteration 2: 33.060 ops/ms Iteration 3: 33.036 ops/ms Iteration 4: 34.112 ops/ms Iteration 5: 30.813 ops/ms Iteration 6: 25.247 ops/ms Iteration 7: 28.390 ops/ms Iteration 8: 28.466 ops/ms Iteration 9: 24.564 ops/ms Iteration 10: 28.212 ops/ms Result "test.EncodingBenchmark.testMovePoint": 27.893 ±(99.9%) 2.907 ops/ms [Average] (min, avg, max) = (20.360, 27.893, 34.112), stdev = 3.348 CI (99.9%): [24.986, 30.800] (assumes normal distribution) # Run complete. Total time: 00:05:24 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 EncodingBenchmark.testCopyString thrpt 20 103.927 ± 9.502 ops/ms EncodingBenchmark.testMovePoint thrpt 20 27.893 ± 2.907 ops/ms