mxsm commented on PR #5592:
URL: https://github.com/apache/rocketmq/pull/5592#issuecomment-1326509814
## After
```
# JMH version: 1.35
# VM version: JDK 1.8.0_342, OpenJDK 64-Bit Server VM, 25.342-b07
# VM invoker: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint (auto-detected, use
-Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 2 s each
# Measurement: 3 iterations, 4 s each
# Timeout: 10 min per iteration
# Threads: 8 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.github.mxsm.TimeZoneBenchmark.timeZoneNonSynchronized
# Run progress: 0.00% complete, ETA 00:00:18
# Fork: 1 of 1
# Warmup Iteration 1: 5399393.834 ops/s
# Warmup Iteration 2: 6425872.682 ops/s
# Warmup Iteration 3: 7142158.397 ops/s
Iteration 1: 7161349.525 ops/s
·stack: <delayed till summary>
Iteration 2: 7133167.489 ops/s
·stack: <delayed till summary>
Iteration 3: 7089499.965 ops/s
·stack: <delayed till summary>
Result "com.github.mxsm.TimeZoneBenchmark.timeZoneNonSynchronized":
7128005.660 ±(99.9%) 660456.318 ops/s [Average]
(min, avg, max) = (7089499.965, 7128005.660, 7161349.525), stdev =
36201.839
CI (99.9%): [6467549.342, 7788461.978] (assumes normal distribution)
Secondary result
"com.github.mxsm.TimeZoneBenchmark.timeZoneNonSynchronized:·stack":
Stack profiler:
....[Thread state
distributions]....................................................................
99.7% RUNNABLE
0.3% WAITING
....[Thread state:
RUNNABLE]........................................................................
22.3% 22.4% sun.util.calendar.ZoneInfo.getTransitionIndex
14.3% 14.4% java.text.SimpleDateFormat.format
12.3% 12.3% java.text.DateFormatSymbols.<init>
10.2% 10.2% java.lang.StringBuilder.getChars
9.3% 9.3% java.util.GregorianCalendar.computeFields
7.8% 7.8% java.text.SimpleDateFormat.subFormat
6.4% 6.4% java.time.ZoneId.systemDefault
6.4% 6.4% java.util.GregorianCalendar.computeTime
5.0% 5.0% java.text.SimpleDateFormat.initializeDefaultCentury
1.3% 1.3% org.openjdk.jmh.infra.Blackhole.consume
4.4% 4.4% <other>
....[Thread state:
WAITING].........................................................................
0.3% 100.0% sun.misc.Unsafe.park
# Run complete. Total time: 00:00:18
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
TimeZoneBenchmark.timeZoneNonSynchronized thrpt 3 7128005.660 ±
660456.318 ops/s
TimeZoneBenchmark.timeZoneNonSynchronized:·stack thrpt NaN
---
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]