Skip to content

Instantly share code, notes, and snippets.

@Nithanim
Created September 12, 2016 02:22
Show Gist options
  • Save Nithanim/b773979569c96a49da380510890d98cb to your computer and use it in GitHub Desktop.
Save Nithanim/b773979569c96a49da380510890d98cb to your computer and use it in GitHub Desktop.
# JMH 1.11.2 (released 319 days ago, please consider updating!)
# VM version: JDK 1.8.0_60, VM 25.60-b23
# VM invoker: C:\Program Files\Java\jdk1.8.0_60\jre\bin\java.exe
# VM options: -server
# Warmup: 10 iterations, 1 s each
# Measurement: 10 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: benchmark.ArithmeticBenchmark.testDivide
# Run progress: 0,00% complete, ETA 00:00:40
# Fork: 1 of 1
# Warmup Iteration 1: 12464595,166 ops/s
# Warmup Iteration 2: 12496355,830 ops/s
# Warmup Iteration 3: 12253207,478 ops/s
# Warmup Iteration 4: 12289751,866 ops/s
# Warmup Iteration 5: 12282124,285 ops/s
# Warmup Iteration 6: 12286419,935 ops/s
# Warmup Iteration 7: 12255619,317 ops/s
# Warmup Iteration 8: 12231683,866 ops/s
# Warmup Iteration 9: 12269057,925 ops/s
# Warmup Iteration 10: 12262047,590 ops/s
Iteration 1: 12337608,096 ops/s
Iteration 2: 12274781,445 ops/s
Iteration 3: 12254021,649 ops/s
Iteration 4: 12306321,199 ops/s
Iteration 5: 12317656,483 ops/s
Iteration 6: 12292445,618 ops/s
Iteration 7: 12294500,938 ops/s
Iteration 8: 12257816,435 ops/s
Iteration 9: 12338532,342 ops/s
Iteration 10: 12308693,706 ops/s
Result "testDivide":
12298237,791 ±(99.9%) 44826,539 ops/s [Average]
(min, avg, max) = (12254021,649, 12298237,791, 12338532,342), stdev = 29649,980
CI (99.9%): [12253411,253, 12343064,330] (assumes normal distribution)
# JMH 1.11.2 (released 319 days ago, please consider updating!)
# VM version: JDK 1.8.0_60, VM 25.60-b23
# VM invoker: C:\Program Files\Java\jdk1.8.0_60\jre\bin\java.exe
# VM options: -server
# Warmup: 10 iterations, 1 s each
# Measurement: 10 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: benchmark.ArithmeticBenchmark.testShift
# Run progress: 50,00% complete, ETA 00:00:20
# Fork: 1 of 1
# Warmup Iteration 1: 32922889,427 ops/s
# Warmup Iteration 2: 33190070,200 ops/s
# Warmup Iteration 3: 34867343,977 ops/s
# Warmup Iteration 4: 35556279,522 ops/s
# Warmup Iteration 5: 34782369,506 ops/s
# Warmup Iteration 6: 35025545,522 ops/s
# Warmup Iteration 7: 35110167,179 ops/s
# Warmup Iteration 8: 34661635,436 ops/s
# Warmup Iteration 9: 34690639,000 ops/s
# Warmup Iteration 10: 34897541,752 ops/s
Iteration 1: 34692913,382 ops/s
Iteration 2: 34654645,121 ops/s
Iteration 3: 34619867,805 ops/s
Iteration 4: 35038065,837 ops/s
Iteration 5: 34668338,888 ops/s
Iteration 6: 35257487,107 ops/s
Iteration 7: 34911129,099 ops/s
Iteration 8: 35485806,389 ops/s
Iteration 9: 34844916,678 ops/s
Iteration 10: 35138936,831 ops/s
Result "testShift":
34931210,714 ±(99.9%) 443867,644 ops/s [Average]
(min, avg, max) = (34619867,805, 34931210,714, 35485806,389), stdev = 293590,964
CI (99.9%): [34487343,070, 35375078,357] (assumes normal distribution)
# Run complete. Total time: 00:00:40
Benchmark Mode Cnt Score Error Units
ArithmeticBenchmark.testDivide thrpt 10 12298237,791 ± 44826,539 ops/s
ArithmeticBenchmark.testShift thrpt 10 34931210,714 ± 443867,644 ops/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment