Created
January 23, 2019 03:48
-
-
Save stevenschlansker/afc65d80f895fa1000f6e383d16cc2bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/home/steven/ot-code/jdbi3/benchmark/target/benchmarks.jar) to field java.io.Console.cs | |
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 | |
# JMH version: 1.21 | |
# VM version: JDK 11.0.1, OpenJDK 64-Bit Server VM, 11.0.1+13 | |
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.1.13-10.fc29.x86_64/bin/java | |
# VM options: <none> | |
# Warmup: 5 iterations, 2 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: org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseInsensitive | |
# Run progress: 0.00% complete, ETA 00:01:10 | |
# Fork: 1 of 1 | |
# Warmup Iteration 1: 1499.699 ops/s | |
# Warmup Iteration 2: 2160.439 ops/s | |
# Warmup Iteration 3: 2317.826 ops/s | |
# Warmup Iteration 4: 2417.134 ops/s | |
# Warmup Iteration 5: 2401.679 ops/s | |
Iteration 1: 2473.488 ops/s | |
·stack: <delayed till summary> | |
Iteration 2: 2403.386 ops/s | |
·stack: <delayed till summary> | |
Iteration 3: 2416.184 ops/s | |
·stack: <delayed till summary> | |
Iteration 4: 2408.341 ops/s | |
·stack: <delayed till summary> | |
Iteration 5: 2420.667 ops/s | |
·stack: <delayed till summary> | |
Result "org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseInsensitive": | |
2424.413 ±(99.9%) 108.752 ops/s [Average] | |
(min, avg, max) = (2403.386, 2424.413, 2473.488), stdev = 28.243 | |
CI (99.9%): [2315.661, 2533.165] (assumes normal distribution) | |
Secondary result "org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseInsensitive:·stack": | |
Stack profiler: | |
....[Thread state distributions].................................................................... | |
66.7% TIMED_WAITING | |
33.3% RUNNABLE | |
....[Thread state: TIMED_WAITING]................................................................... | |
33.3% 50.0% java.lang.Object.wait | |
33.3% 50.0% jdk.internal.misc.Unsafe.park | |
....[Thread state: RUNNABLE]........................................................................ | |
21.9% 65.7% java.lang.Throwable.fillInStackTrace | |
1.6% 4.9% java.util.concurrent.ConcurrentHashMap.computeIfAbsent | |
1.6% 4.7% org.jdbi.v3.core.mapper.EnumMapper$ByName.map | |
1.4% 4.3% org.jdbi.v3.core.result.ResultSetResultIterator.safeNext | |
1.3% 3.9% java.lang.Enum.valueOf | |
1.0% 3.0% java.util.Iterator.forEachRemaining | |
1.0% 2.9% org.h2.jdbc.JdbcResultSet.getString | |
0.6% 1.9% org.jdbi.v3.core.mapper.EnumMapper$ByName.resolve | |
0.5% 1.4% java.util.concurrent.ConcurrentHashMap.transfer | |
0.4% 1.2% org.jdbi.v3.core.mapper.EnumMapper$ByName$$Lambda$189/0x0000000840126c40.apply | |
2.1% 6.2% <other> | |
# JMH version: 1.21 | |
# VM version: JDK 11.0.1, OpenJDK 64-Bit Server VM, 11.0.1+13 | |
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.1.13-10.fc29.x86_64/bin/java | |
# VM options: <none> | |
# Warmup: 5 iterations, 2 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: org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseSensitive | |
# Run progress: 50.00% complete, ETA 00:00:35 | |
# Fork: 1 of 1 | |
# Warmup Iteration 1: 5993.933 ops/s | |
# Warmup Iteration 2: 11446.451 ops/s | |
# Warmup Iteration 3: 12315.329 ops/s | |
# Warmup Iteration 4: 12098.823 ops/s | |
# Warmup Iteration 5: 12594.178 ops/s | |
Iteration 1: 12391.234 ops/s | |
·stack: <delayed till summary> | |
Iteration 2: 12514.563 ops/s | |
·stack: <delayed till summary> | |
Iteration 3: 12469.874 ops/s | |
·stack: <delayed till summary> | |
Iteration 4: 12556.639 ops/s | |
·stack: <delayed till summary> | |
Iteration 5: 12372.780 ops/s | |
·stack: <delayed till summary> | |
Result "org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseSensitive": | |
12461.018 ±(99.9%) 302.860 ops/s [Average] | |
(min, avg, max) = (12372.780, 12461.018, 12556.639), stdev = 78.652 | |
CI (99.9%): [12158.158, 12763.878] (assumes normal distribution) | |
Secondary result "org.jdbi.v3.core.qualifier.EnumBenchmark.mapEnumCaseSensitive:·stack": | |
Stack profiler: | |
....[Thread state distributions].................................................................... | |
66.7% TIMED_WAITING | |
33.3% RUNNABLE | |
....[Thread state: TIMED_WAITING]................................................................... | |
33.3% 50.0% java.lang.Object.wait | |
33.3% 50.0% jdk.internal.misc.Unsafe.park | |
....[Thread state: RUNNABLE]........................................................................ | |
6.9% 20.6% org.jdbi.v3.core.result.ResultSetResultIterator.safeNext | |
6.2% 18.5% org.h2.jdbc.JdbcResultSet.getString | |
5.5% 16.4% java.util.concurrent.ConcurrentHashMap.computeIfAbsent | |
5.2% 15.5% java.util.stream.ReduceOps$3ReducingSink.accept | |
2.3% 6.9% org.jdbi.v3.core.mapper.EnumMapper$ByName.map | |
1.3% 3.8% org.jdbi.v3.core.result.ResultSetResultIterator.next | |
0.7% 2.2% java.util.HashMap.putVal | |
0.5% 1.4% net.jodah.expiringmap.ExpiringMap.getEntry | |
0.5% 1.4% org.jdbi.v3.core.mapper.SingleColumnMapper.map | |
0.4% 1.3% java.util.Arrays.hashCode | |
4.0% 12.1% <other> | |
# Run complete. Total time: 00:01:11 | |
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 | |
EnumBenchmark.mapEnumCaseInsensitive thrpt 5 2424.413 ± 108.752 ops/s | |
EnumBenchmark.mapEnumCaseInsensitive:·stack thrpt NaN --- | |
EnumBenchmark.mapEnumCaseSensitive thrpt 5 12461.018 ± 302.860 ops/s | |
EnumBenchmark.mapEnumCaseSensitive:·stack thrpt NaN --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment