Skip to content

Instantly share code, notes, and snippets.

@nik9000
Created December 2, 2020 19:41
Show Gist options
  • Save nik9000/c04db84ef868d0509ebad2016f2cb832 to your computer and use it in GitHub Desktop.
Save nik9000/c04db84ef868d0509ebad2016f2cb832 to your computer and use it in GitHub Desktop.
$ JAVA_HOME=~/Bin/jdk-15.0.1+9/ ./gradlew -p benchmarks/ run --args 'AggConstructionContentionBenchmark.sixSums'
=======================================
Elasticsearch Build Hamster says Hello!
Gradle Version : 6.6.1
OS Info : Linux 4.19.0-12-cloud-amd64 (amd64)
JDK Version : 15 (AdoptOpenJDK)
JAVA_HOME : /home/nik/Bin/jdk-15.0.1+9
Random Testing Seed : 4D35AC456017C335
In FIPS 140 mode : false
=======================================
> Task :benchmarks:compileJava
Note: /home/nik/Code/Elastic/elasticsearch/benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterBenchmark.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :benchmarks:run
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/home/nik/.gradle/caches/modules-2/files-2.1/org.openjdk.jmh/jmh-core/1.19/1ea93b88f8154f0a35c16b46d76cfb2febcf4916/jmh-core-1.19.jar) to field java.io.PrintStream.charOut
WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
# Detecting actual CPU count: 60 detected
# JMH version: 1.19
# VM version: JDK 15.0.1, VM 15.0.1+9
# VM invoker: /home/nik/Bin/jdk-15.0.1+9/bin/java
# VM options: -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant
# Warmup: 10 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 60 threads, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: org.elasticsearch.benchmark.search.aggregations.AggConstructionContentionBenchmark.sixSums
# Parameters: (breaker = noop)
# Run progress: 0.00% complete, ETA 00:01:30
# Fork: 1 of 2
# Warmup Iteration 1: 110.686 ±(99.9%) 6.708 us/op
# Warmup Iteration 2: 14.843 ±(99.9%) 4.398 us/op
# Warmup Iteration 3: 8.895 ±(99.9%) 0.033 us/op
# Warmup Iteration 4: 8.849 ±(99.9%) 0.044 us/op
# Warmup Iteration 5: 8.760 ±(99.9%) 0.088 us/op
# Warmup Iteration 6: 8.825 ±(99.9%) 0.088 us/op
# Warmup Iteration 7: 8.843 ±(99.9%) 0.073 us/op
# Warmup Iteration 8: 8.880 ±(99.9%) 0.051 us/op
# Warmup Iteration 9: 8.806 ±(99.9%) 0.043 us/op
# Warmup Iteration 10: 8.840 ±(99.9%) 0.046 us/op
Iteration 1: 8.818 ±(99.9%) 0.045 us/op
Iteration 2: 9.038 ±(99.9%) 0.063 us/op
Iteration 3: 9.175 ±(99.9%) 0.066 us/op
Iteration 4: 8.983 ±(99.9%) 0.069 us/op
Iteration 5: 8.889 ±(99.9%) 0.073 us/op
# Run progress: 16.67% complete, ETA 00:01:22
# Fork: 2 of 2
# Warmup Iteration 1: 306.778 ±(99.9%) 11.371 us/op
# Warmup Iteration 2: 25.950 ±(99.9%) 6.814 us/op
# Warmup Iteration 3: 8.870 ±(99.9%) 0.078 us/op
# Warmup Iteration 4: 8.668 ±(99.9%) 0.092 us/op
# Warmup Iteration 5: 8.682 ±(99.9%) 0.101 us/op
# Warmup Iteration 6: 8.728 ±(99.9%) 0.116 us/op
# Warmup Iteration 7: 8.682 ±(99.9%) 0.081 us/op
# Warmup Iteration 8: 8.676 ±(99.9%) 0.069 us/op
# Warmup Iteration 9: 8.634 ±(99.9%) 0.079 us/op
# Warmup Iteration 10: 8.801 ±(99.9%) 0.071 us/op
Iteration 1: 8.825 ±(99.9%) 0.068 us/op
Iteration 2: 8.744 ±(99.9%) 0.071 us/op
Iteration 3: 8.796 ±(99.9%) 0.113 us/op
Iteration 4: 8.856 ±(99.9%) 0.085 us/op
Iteration 5: 8.990 ±(99.9%) 0.110 us/op
Result "org.elasticsearch.benchmark.search.aggregations.AggConstructionContentionBenchmark.sixSums":
8.912 ±(99.9%) 0.200 us/op [Average]
(min, avg, max) = (8.744, 8.912, 9.175), stdev = 0.132
CI (99.9%): [8.711, 9.112] (assumes normal distribution)
# JMH version: 1.19
# VM version: JDK 15.0.1, VM 15.0.1+9
# VM invoker: /home/nik/Bin/jdk-15.0.1+9/bin/java
# VM options: -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant
# Warmup: 10 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 60 threads, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: org.elasticsearch.benchmark.search.aggregations.AggConstructionContentionBenchmark.sixSums
# Parameters: (breaker = real)
# Run progress: 33.33% complete, ETA 00:01:05
# Fork: 1 of 2
# Warmup Iteration 1: 382.852 ±(99.9%) 10.970 us/op
# Warmup Iteration 2: 280.516 ±(99.9%) 9.096 us/op
# Warmup Iteration 3: 421.465 ±(99.9%) 29.253 us/op
# Warmup Iteration 4: 305.153 ±(99.9%) 8.480 us/op
# Warmup Iteration 5: 292.416 ±(99.9%) 7.921 us/op
# Warmup Iteration 6: 512.043 ±(99.9%) 29.531 us/op
# Warmup Iteration 7: 379.916 ±(99.9%) 16.975 us/op
# Warmup Iteration 8: 619.870 ±(99.9%) 79.542 us/op
# Warmup Iteration 9: 614.610 ±(99.9%) 74.734 us/op
# Warmup Iteration 10: 618.040 ±(99.9%) 80.443 us/op
Iteration 1: 623.582 ±(99.9%) 83.068 us/op
Iteration 2: 622.213 ±(99.9%) 81.639 us/op
Iteration 3: 617.419 ±(99.9%) 77.876 us/op
Iteration 4: 607.436 ±(99.9%) 69.351 us/op
Iteration 5: 618.631 ±(99.9%) 79.589 us/op
# Run progress: 50.00% complete, ETA 00:00:49
# Fork: 2 of 2
# Warmup Iteration 1: 399.273 ±(99.9%) 18.114 us/op
# Warmup Iteration 2: 344.771 ±(99.9%) 17.229 us/op
# Warmup Iteration 3: 436.614 ±(99.9%) 33.523 us/op
# Warmup Iteration 4: 286.343 ±(99.9%) 5.542 us/op
# Warmup Iteration 5: 470.019 ±(99.9%) 36.558 us/op
# Warmup Iteration 6: 393.733 ±(99.9%) 12.496 us/op
# Warmup Iteration 7: 676.595 ±(99.9%) 72.565 us/op
# Warmup Iteration 8: 285.136 ±(99.9%) 6.193 us/op
# Warmup Iteration 9: 282.987 ±(99.9%) 8.454 us/op
# Warmup Iteration 10: 281.595 ±(99.9%) 9.756 us/op
Iteration 1: 281.712 ±(99.9%) 9.265 us/op
Iteration 2: 282.585 ±(99.9%) 9.604 us/op
Iteration 3: 281.440 ±(99.9%) 9.936 us/op
Iteration 4: 281.824 ±(99.9%) 9.692 us/op
Iteration 5: 283.578 ±(99.9%) 9.455 us/op
Result "org.elasticsearch.benchmark.search.aggregations.AggConstructionContentionBenchmark.sixSums":
450.042 ±(99.9%) 267.513 us/op [Average]
(min, avg, max) = (281.440, 450.042, 623.582), stdev = 176.943
CI (99.9%): [182.529, 717.555] (assumes normal distribution)
# JMH version: 1.19
# VM version: JDK 15.0.1, VM 15.0.1+9
# VM invoker: /home/nik/Bin/jdk-15.0.1+9/bin/java
# VM options: -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant
# Warmup: 10 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 60 threads, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: org.elasticsearch.benchmark.search.aggregations.AggConstructionContentionBenchmark.sixSums
# Parameters: (breaker = preallocate)
# Run progress: 66.67% complete, ETA 00:00:32
# Fork: 1 of 2
# Warmup Iteration 1: 175.584 ±(99.9%) 5.542 us/op
# Warmup Iteration 2: 123.370 ±(99.9%) 7.309 us/op
# Warmup Iteration 3: 111.468 ±(99.9%) 6.584 us/op
# Warmup Iteration 4: 178.024 ±(99.9%) 20.438 us/op
# Warmup Iteration 5: 171.622 ±(99.9%) 15.999 us/op
# Warmup Iteration 6: 176.003 ±(99.9%) 20.835 us/op
# Warmup Iteration 7: 175.167 ±(99.9%) 19.550 us/op
# Warmup Iteration 8: 176.658 ±(99.9%) 21.139 us/op
# Warmup Iteration 9: 177.332 ±(99.9%) 21.431 us/op
# Warmup Iteration 10: 174.476 ±(99.9%) 18.224 us/op
Iteration 1: 177.562 ±(99.9%) 21.284 us/op
Iteration 2: 176.837 ±(99.9%) 21.021 us/op
Iteration 3: 179.996 ±(99.9%) 22.724 us/op
Iteration 4: 177.371 ±(99.9%) 21.080 us/op
Iteration 5: 172.745 ±(99.9%) 17.905 us/op
# Run progress: 83.33% complete, ETA 00:00:16
# Fork: 2 of 2
# Warmup Iteration 1: 215.829 ±(99.9%) 10.827 us/op
# Warmup Iteration 2: 109.138 ±(99.9%) 1.961 us/op
# Warmup Iteration 3: 124.314 ±(99.9%) 1.383 us/op
# Warmup Iteration 4: 85.982 ±(99.9%) 6.929 us/op
# Warmup Iteration 5: 85.955 ±(99.9%) 6.673 us/op
# Warmup Iteration 6: 85.340 ±(99.9%) 6.275 us/op
# Warmup Iteration 7: 85.508 ±(99.9%) 4.752 us/op
# Warmup Iteration 8: 86.183 ±(99.9%) 6.940 us/op
# Warmup Iteration 9: 85.963 ±(99.9%) 6.962 us/op
# Warmup Iteration 10: 85.632 ±(99.9%) 6.116 us/op
Iteration 1: 85.897 ±(99.9%) 6.016 us/op
Iteration 2: 86.251 ±(99.9%) 7.036 us/op
Iteration 3: 87.571 ±(99.9%) 7.469 us/op
Iteration 4: 85.941 ±(99.9%) 7.015 us/op
Iteration 5: 85.972 ±(99.9%) 6.944 us/op
Result "org.elasticsearch.benchmark.search.aggregations.AggConstructionContentionBenchmark.sixSums":
131.614 ±(99.9%) 72.224 us/op [Average]
(min, avg, max) = (85.897, 131.614, 179.996), stdev = 47.772
CI (99.9%): [59.390, 203.839] (assumes normal distribution)
# Run complete. Total time: 00:01:38
Benchmark (breaker) Mode Cnt Score Error Units
AggConstructionContentionBenchmark.sixSums noop avgt 10 8.912 ± 0.200 us/op
AggConstructionContentionBenchmark.sixSums real avgt 10 450.042 ± 267.513 us/op
AggConstructionContentionBenchmark.sixSums preallocate avgt 10 131.614 ± 72.224 us/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment