# JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.begin_regionMatches # Run progress: 0.00% complete, ETA 00:03:30 # Fork: 1 of 1 # Warmup Iteration 1: 30.019 ns/op # Warmup Iteration 2: 26.071 ns/op Iteration 1: 25.923 ns/op Iteration 2: 28.378 ns/op Iteration 3: 28.222 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.begin_regionMatches": 27.508 ±(99.9%) 25.079 ns/op [Average] (min, avg, max) = (25.923, 27.508, 28.378), stdev = 1.375 CI (99.9%): [2.428, 52.587] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.begin_startsWith # Run progress: 10.00% complete, ETA 00:03:12 # Fork: 1 of 1 # Warmup Iteration 1: 12.583 ns/op # Warmup Iteration 2: 12.729 ns/op Iteration 1: 12.380 ns/op Iteration 2: 12.413 ns/op Iteration 3: 12.400 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.begin_startsWith": 12.398 ±(99.9%) 0.304 ns/op [Average] (min, avg, max) = (12.380, 12.398, 12.413), stdev = 0.017 CI (99.9%): [12.094, 12.702] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.begin_substringEquals # Run progress: 20.00% complete, ETA 00:02:50 # Fork: 1 of 1 # Warmup Iteration 1: 19.793 ns/op # Warmup Iteration 2: 21.562 ns/op Iteration 1: 20.356 ns/op Iteration 2: 19.435 ns/op Iteration 3: 20.244 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.begin_substringEquals": 20.012 ±(99.9%) 9.165 ns/op [Average] (min, avg, max) = (19.435, 20.012, 20.356), stdev = 0.502 CI (99.9%): [10.846, 29.177] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.end_endsWith # Run progress: 30.00% complete, ETA 00:02:29 # Fork: 1 of 1 # Warmup Iteration 1: 15.660 ns/op # Warmup Iteration 2: 14.112 ns/op Iteration 1: 15.263 ns/op Iteration 2: 15.321 ns/op Iteration 3: 15.335 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.end_endsWith": 15.306 ±(99.9%) 0.700 ns/op [Average] (min, avg, max) = (15.263, 15.306, 15.335), stdev = 0.038 CI (99.9%): [14.607, 16.006] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.end_regionMatches # Run progress: 40.00% complete, ETA 00:02:08 # Fork: 1 of 1 # Warmup Iteration 1: 26.521 ns/op # Warmup Iteration 2: 29.527 ns/op Iteration 1: 29.685 ns/op Iteration 2: 25.380 ns/op Iteration 3: 25.509 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.end_regionMatches": 26.858 ±(99.9%) 44.689 ns/op [Average] (min, avg, max) = (25.380, 26.858, 29.685), stdev = 2.450 CI (99.9%): [≈ 0, 71.547] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.end_substringEquals # Run progress: 50.00% complete, ETA 00:01:46 # Fork: 1 of 1 # Warmup Iteration 1: 21.550 ns/op # Warmup Iteration 2: 19.182 ns/op Iteration 1: 17.296 ns/op Iteration 2: 17.085 ns/op Iteration 3: 15.726 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.end_substringEquals": 16.702 ±(99.9%) 15.542 ns/op [Average] (min, avg, max) = (15.726, 16.702, 17.296), stdev = 0.852 CI (99.9%): [1.161, 32.244] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.middle2Sides_regionMatches # Run progress: 60.00% complete, ETA 00:01:25 # Fork: 1 of 1 # Warmup Iteration 1: 26.930 ns/op # Warmup Iteration 2: 26.520 ns/op Iteration 1: 26.944 ns/op Iteration 2: 29.809 ns/op Iteration 3: 26.427 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.middle2Sides_regionMatches": 27.727 ±(99.9%) 33.234 ns/op [Average] (min, avg, max) = (26.427, 27.727, 29.809), stdev = 1.822 CI (99.9%): [≈ 0, 60.961] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.middle2Sides_substringEquals # Run progress: 70.00% complete, ETA 00:01:03 # Fork: 1 of 1 # Warmup Iteration 1: 30.053 ns/op # Warmup Iteration 2: 30.839 ns/op Iteration 1: 30.493 ns/op Iteration 2: 33.772 ns/op Iteration 3: 31.471 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.middle2Sides_substringEquals": 31.912 ±(99.9%) 30.710 ns/op [Average] (min, avg, max) = (30.493, 31.912, 33.772), stdev = 1.683 CI (99.9%): [1.202, 62.622] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.middle_regionMatches # Run progress: 80.00% complete, ETA 00:00:42 # Fork: 1 of 1 # Warmup Iteration 1: 26.637 ns/op # Warmup Iteration 2: 26.525 ns/op Iteration 1: 28.420 ns/op Iteration 2: 25.770 ns/op Iteration 3: 25.900 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.middle_regionMatches": 26.697 ±(99.9%) 27.258 ns/op [Average] (min, avg, max) = (25.770, 26.697, 28.420), stdev = 1.494 CI (99.9%): [≈ 0, 53.955] (assumes normal distribution) # JMH version: 1.20 # VM version: JDK 11.0.14.1, VM 11.0.14.1+1-Ubuntu-0ubuntu1.21.10 # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java # VM options: -Xmx2G # Warmup: 2 iterations, 3 s each # Measurement: 3 iterations, 5 s each # Timeout: 10 min per iteration # Threads: 2 threads, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: com.komanov.str.jmh.RegionMatchesBenchmarks.middle_substringEquals # Run progress: 90.00% complete, ETA 00:00:21 # Fork: 1 of 1 # Warmup Iteration 1: 33.186 ns/op # Warmup Iteration 2: 21.298 ns/op Iteration 1: 21.566 ns/op Iteration 2: 22.603 ns/op Iteration 3: 21.802 ns/op Result "com.komanov.str.jmh.RegionMatchesBenchmarks.middle_substringEquals": 21.990 ±(99.9%) 9.910 ns/op [Average] (min, avg, max) = (21.566, 21.990, 22.603), stdev = 0.543 CI (99.9%): [12.081, 31.900] (assumes normal distribution) # Run complete. Total time: 00:03:33 Benchmark Mode Cnt Score Error Units RegionMatchesBenchmarks.begin_regionMatches avgt 3 27.508 ± 25.079 ns/op RegionMatchesBenchmarks.begin_startsWith avgt 3 12.398 ± 0.304 ns/op RegionMatchesBenchmarks.begin_substringEquals avgt 3 20.012 ± 9.165 ns/op RegionMatchesBenchmarks.end_endsWith avgt 3 15.306 ± 0.700 ns/op RegionMatchesBenchmarks.end_regionMatches avgt 3 26.858 ± 44.689 ns/op RegionMatchesBenchmarks.end_substringEquals avgt 3 16.702 ± 15.542 ns/op RegionMatchesBenchmarks.middle2Sides_regionMatches avgt 3 27.727 ± 33.234 ns/op RegionMatchesBenchmarks.middle2Sides_substringEquals avgt 3 31.912 ± 30.710 ns/op RegionMatchesBenchmarks.middle_regionMatches avgt 3 26.697 ± 27.258 ns/op RegionMatchesBenchmarks.middle_substringEquals avgt 3 21.990 ± 9.910 ns/op Benchmark result is saved to jdk11.json