# JMH version: 1.37
# VM version: JDK 25.0.5, OpenJDK 64-Bit Server VM, 25.0.5+8-LTS
# VM invoker: /tmp/tools/jdk-25.0.5+8/bin/java
# Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 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: com.ankurm.jmhbasics.SortBenchmark.sortCopy

# Run progress: 0.00% complete, ETA 00:00:24
# Fork: 1 of 1
# Warmup Iteration   1: 0.167 ops/us
# Warmup Iteration   2: 0.198 ops/us
# Warmup Iteration   3: 0.199 ops/us
Iteration   1: 0.186 ops/us
Iteration   2: 0.200 ops/us
Iteration   3: 0.185 ops/us
Iteration   4: 0.156 ops/us
Iteration   5: 0.174 ops/us


Result "com.ankurm.jmhbasics.SortBenchmark.sortCopy":
  0.180 ±(99.9%) 0.063 ops/us [Average]
  (min, avg, max) = (0.156, 0.180, 0.200), stdev = 0.016
  CI (99.9%): [0.117, 0.243] (assumes normal distribution)


# JMH version: 1.37
# VM version: JDK 25.0.5, OpenJDK 64-Bit Server VM, 25.0.5+8-LTS
# VM invoker: /tmp/tools/jdk-25.0.5+8/bin/java
# Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: com.ankurm.jmhbasics.SortBenchmark.sortCopy

# Run progress: 33.33% complete, ETA 00:00:16
# Fork: 1 of 1
# Warmup Iteration   1: 6.346 us/op
# Warmup Iteration   2: 5.192 us/op
# Warmup Iteration   3: 5.520 us/op
Iteration   1: 5.367 us/op
Iteration   2: 5.330 us/op
Iteration   3: 5.343 us/op
Iteration   4: 6.901 us/op
Iteration   5: 5.716 us/op


Result "com.ankurm.jmhbasics.SortBenchmark.sortCopy":
  5.731 ±(99.9%) 2.592 us/op [Average]
  (min, avg, max) = (5.330, 5.731, 6.901), stdev = 0.673
  CI (99.9%): [3.140, 8.323] (assumes normal distribution)


# JMH version: 1.37
# VM version: JDK 25.0.5, OpenJDK 64-Bit Server VM, 25.0.5+8-LTS
# VM invoker: /tmp/tools/jdk-25.0.5+8/bin/java
# Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Sampling time
# Benchmark: com.ankurm.jmhbasics.SortBenchmark.sortCopy

# Run progress: 66.67% complete, ETA 00:00:08
# Fork: 1 of 1
# Warmup Iteration   1: 9.133 ±(99.9%) 1.896 us/op
# Warmup Iteration   2: 7.146 ±(99.9%) 0.975 us/op
# Warmup Iteration   3: 6.063 ±(99.9%) 0.366 us/op
Iteration   1: 8.042 ±(99.9%) 1.788 us/op
                 p0.00:   3.428 us/op
                 p0.50:   5.960 us/op
                 p0.90:   6.808 us/op
                 p0.95:   7.432 us/op
                 p0.99:   28.379 us/op
                 p0.999:  65.180 us/op
                 p0.9999: 4063.431 us/op
                 p1.00:   4067.328 us/op

Iteration   2: 6.504 ±(99.9%) 1.880 us/op
                 p0.00:   3.420 us/op
                 p0.50:   4.480 us/op
                 p0.90:   6.352 us/op
                 p0.95:   6.744 us/op
                 p0.99:   25.392 us/op
                 p0.999:  51.584 us/op
                 p0.9999: 4057.682 us/op
                 p1.00:   11911.168 us/op

Iteration   3: 5.223 ±(99.9%) 0.336 us/op
                 p0.00:   3.424 us/op
                 p0.50:   4.280 us/op
                 p0.90:   5.776 us/op
                 p0.95:   6.272 us/op
                 p0.99:   20.843 us/op
                 p0.999:  62.631 us/op
                 p0.9999: 953.847 us/op
                 p1.00:   1581.056 us/op

Iteration   4: 7.875 ±(99.9%) 1.578 us/op
                 p0.00:   3.428 us/op
                 p0.50:   6.104 us/op
                 p0.90:   6.808 us/op
                 p0.95:   7.906 us/op
                 p0.99:   35.626 us/op
                 p0.999:  195.147 us/op
                 p0.9999: 4194.614 us/op
                 p1.00:   8192.000 us/op

Iteration   5: 5.648 ±(99.9%) 0.311 us/op
                 p0.00:   3.416 us/op
                 p0.50:   4.504 us/op
                 p0.90:   6.416 us/op
                 p0.95:   6.856 us/op
                 p0.99:   26.271 us/op
                 p0.999:  69.818 us/op
                 p0.9999: 362.418 us/op
                 p1.00:   2050.048 us/op



Result "com.ankurm.jmhbasics.SortBenchmark.sortCopy":
  N = 112693
  mean =      6.532 ±(99.9%) 0.580 us/op

  Histogram, us/op:
    [    0.000,  1250.000) = 112674 
    [ 1250.000,  2500.000) = 8 
    [ 2500.000,  3750.000) = 0 
    [ 3750.000,  5000.000) = 9 
    [ 5000.000,  6250.000) = 0 
    [ 6250.000,  7500.000) = 0 
    [ 7500.000,  8750.000) = 1 
    [ 8750.000, 10000.000) = 0 
    [10000.000, 11250.000) = 0 
    [11250.000, 12500.000) = 1 
    [12500.000, 13750.000) = 0 
    [13750.000, 15000.000) = 0 
    [15000.000, 16250.000) = 0 
    [16250.000, 17500.000) = 0 
    [17500.000, 18750.000) = 0 

  Percentiles, us/op:
      p(0.0000) =      3.416 us/op
     p(50.0000) =      5.352 us/op
     p(90.0000) =      6.544 us/op
     p(95.0000) =      7.024 us/op
     p(99.0000) =     26.944 us/op
     p(99.9000) =     91.151 us/op
     p(99.9900) =   3620.126 us/op
     p(99.9990) =  11439.057 us/op
     p(99.9999) =  11911.168 us/op
    p(100.0000) =  11911.168 us/op


# Run complete. Total time: 00:00:25

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.

NOTE: Current JVM experimentally supports Compiler Blackholes, and they are in use. Please exercise
extra caution when trusting the results, look into the generated code to check the benchmark still
works, and factor in a small probability of new VM bugs. Additionally, while comparisons between
different JVMs are already problematic, the performance difference caused by different Blackhole
modes can be very significant. Please make sure you use the consistent Blackhole mode for comparisons.

Benchmark                         Mode     Cnt      Score   Error   Units
SortBenchmark.sortCopy           thrpt       5      0.180 ± 0.063  ops/us
SortBenchmark.sortCopy            avgt       5      5.731 ± 2.592   us/op
SortBenchmark.sortCopy          sample  112693      6.532 ± 0.580   us/op
SortBenchmark.sortCopy:p0.00    sample              3.416           us/op
SortBenchmark.sortCopy:p0.50    sample              5.352           us/op
SortBenchmark.sortCopy:p0.90    sample              6.544           us/op
SortBenchmark.sortCopy:p0.95    sample              7.024           us/op
SortBenchmark.sortCopy:p0.99    sample             26.944           us/op
SortBenchmark.sortCopy:p0.999   sample             91.151           us/op
SortBenchmark.sortCopy:p0.9999  sample           3620.126           us/op
SortBenchmark.sortCopy:p1.00    sample          11911.168           us/op
