# 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=65352:/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: 89.653 ops/ms # Warmup Iteration 2: 102.196 ops/ms # Warmup Iteration 3: 100.297 ops/ms Iteration 1: 101.582 ops/ms Iteration 2: 101.892 ops/ms Iteration 3: 103.072 ops/ms Iteration 4: 101.459 ops/ms Iteration 5: 102.547 ops/ms Iteration 6: 101.195 ops/ms Iteration 7: 101.958 ops/ms Iteration 8: 100.794 ops/ms Iteration 9: 99.965 ops/ms Iteration 10: 101.143 ops/ms # Run progress: 25.00% complete, ETA 00:04:03 # Fork: 2 of 2 # Warmup Iteration 1: 95.874 ops/ms # Warmup Iteration 2: 98.110 ops/ms # Warmup Iteration 3: 99.852 ops/ms Iteration 1: 99.335 ops/ms Iteration 2: 99.153 ops/ms Iteration 3: 99.550 ops/ms Iteration 4: 96.272 ops/ms Iteration 5: 98.326 ops/ms Iteration 6: 99.327 ops/ms Iteration 7: 99.809 ops/ms Iteration 8: 99.839 ops/ms Iteration 9: 99.886 ops/ms Iteration 10: 100.343 ops/ms Result "test.EncodingBenchmark.testCopyString": 100.372 ±(99.9%) 1.370 ops/ms [Average] (min, avg, max) = (96.272, 100.372, 103.072), stdev = 1.577 CI (99.9%): [99.003, 101.742] (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=65352:/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:41 # Fork: 1 of 2 # Warmup Iteration 1: 24.319 ops/ms # Warmup Iteration 2: 24.211 ops/ms # Warmup Iteration 3: 24.881 ops/ms Iteration 1: 24.774 ops/ms Iteration 2: 25.124 ops/ms Iteration 3: 25.024 ops/ms Iteration 4: 24.820 ops/ms Iteration 5: 24.658 ops/ms Iteration 6: 25.064 ops/ms Iteration 7: 24.773 ops/ms Iteration 8: 24.634 ops/ms Iteration 9: 24.860 ops/ms Iteration 10: 25.003 ops/ms # Run progress: 75.00% complete, ETA 00:01:20 # Fork: 2 of 2 # Warmup Iteration 1: 24.174 ops/ms # Warmup Iteration 2: 24.722 ops/ms # Warmup Iteration 3: 24.841 ops/ms Iteration 1: 25.050 ops/ms Iteration 2: 25.051 ops/ms Iteration 3: 24.838 ops/ms Iteration 4: 24.646 ops/ms Iteration 5: 23.831 ops/ms Iteration 6: 25.562 ops/ms Iteration 7: 20.812 ops/ms Iteration 8: 22.836 ops/ms Iteration 9: 26.121 ops/ms Iteration 10: 29.234 ops/ms Result "test.EncodingBenchmark.testMovePoint": 24.836 ±(99.9%) 1.308 ops/ms [Average] (min, avg, max) = (20.812, 24.836, 29.234), stdev = 1.507 CI (99.9%): [23.527, 26.144] (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 EncodingBenchmark.testCopyString thrpt 20 100.372 ± 1.370 ops/ms EncodingBenchmark.testMovePoint thrpt 20 24.836 ± 1.308 ops/ms