# JMH version: 1.21
# VM version: JDK 1.8.0_151, Java HotSpot(TM) 64-Bit Server VM, 25.151-b12
# VM invoker: C:\Program Files\Java\jre1.8.0_151\bin\java.exe
# VM options: -Dfile.encoding=UTF-8
# Warmup: 3 iterations, 3 s each
# Measurement: 5 iterations, 5 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: ua.i0xhex.benchmark.MyBenchmark.fastSqrt
# Run progress: 0,00% complete, ETA 00:01:08
# Fork: 1 of 1
# Warmup Iteration 1: 74715,939 ops/ms
# Warmup Iteration 2: 74238,698 ops/ms
# Warmup Iteration 3: 78574,523 ops/ms
Iteration 1: 78968,207 ops/ms
Iteration 2: 78765,202 ops/ms
Iteration 3: 79029,288 ops/ms
Iteration 4: 78812,270 ops/ms
Iteration 5: 78926,890 ops/ms
Result "ua.i0xhex.benchmark.MyBenchmark.fastSqrt":
78900,371 ±(99.9%) 421,628 ops/ms [Average]
(min, avg, max) = (78765,202, 78900,371, 79029,288), stdev = 109,496
CI (99.9%): [78478,743, 79321,999] (assumes normal distribution)
# JMH version: 1.21
# VM version: JDK 1.8.0_151, Java HotSpot(TM) 64-Bit Server VM, 25.151-b12
# VM invoker: C:\Program Files\Java\jre1.8.0_151\bin\java.exe
# VM options: -Dfile.encoding=UTF-8
# Warmup: 3 iterations, 3 s each
# Measurement: 5 iterations, 5 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: ua.i0xhex.benchmark.MyBenchmark.sqrt
# Run progress: 50,00% complete, ETA 00:00:34
# Fork: 1 of 1
# Warmup Iteration 1: 70689,527 ops/ms
# Warmup Iteration 2: 69663,753 ops/ms
# Warmup Iteration 3: 73249,735 ops/ms
Iteration 1: 73956,293 ops/ms
Iteration 2: 73533,717 ops/ms
Iteration 3: 73325,395 ops/ms
Iteration 4: 73329,234 ops/ms
Iteration 5: 73196,293 ops/ms
Result "ua.i0xhex.benchmark.MyBenchmark.sqrt":
73468,187 ±(99.9%) 1149,025 ops/ms [Average]
(min, avg, max) = (73196,293, 73468,187, 73956,293), stdev = 298,398
CI (99.9%): [72319,162, 74617,212] (assumes normal distribution)
# Run complete. Total time: 00:01:09
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
MyBenchmark.fastSqrt thrpt 5 78900,371 ± 421,628 ops/ms
MyBenchmark.sqrt thrpt 5 73468,187 ± 1149,025 ops/ms