dmsolr commented on issue #3064: To improve DataCarrier 
URL: https://github.com/apache/skywalking/issues/3064#issuecomment-511370620
 
 
   The same codes run in openJDK1.6. 
   
   This test is not on the same machine as above. So not using that to compare 
JDK version.
   
   1. Environment:
   ```
   # JMH 1.16 (released 978 days ago, please consider updating!)
   # VM version: JDK 1.6.0_38, VM 23.25-b01
   # VM invoker: /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
   # VM options: -Xmx512m -Xms512m
   # Warmup: 20 iterations, 1 s each, 5 calls per op
   # Measurement: 5 iterations, 1 s each
   # Timeout: 10 min per iteration
   # Threads: 1 thread, will synchronize iterations
   # Benchmark mode: Throughput, ops/time
   ```
   
   2. Result:
   ```
   Benchmark                                           Mode  Cnt     Score   
Error   Units
   ListBenchmark.testArrayList200K                    thrpt    5     0.317 ± 
0.057   ops/s
   ListBenchmark.testArrayList200K:·gc.alloc.rate     thrpt    5       NaN      
    MB/sec
   ListBenchmark.testArrayList200K:·gc.count          thrpt    5   145.000      
    counts
   ListBenchmark.testArrayList200K:·gc.time           thrpt    5  1981.000      
        ms
   ListBenchmark.testLinked200K                       thrpt    5     0.179 ± 
0.005   ops/s
   ListBenchmark.testLinked200K:·gc.alloc.rate        thrpt    5       NaN      
    MB/sec
   ListBenchmark.testLinked200K:·gc.count             thrpt    5   307.000      
    counts
   ListBenchmark.testLinked200K:·gc.time              thrpt    5  1757.000      
        ms
   ListBenchmark.testReusedLinked200K                 thrpt    5     0.113 ± 
0.002   ops/s
   ListBenchmark.testReusedLinked200K:·gc.alloc.rate  thrpt    5       NaN      
    MB/sec
   ListBenchmark.testReusedLinked200K:·gc.count       thrpt    5   307.000      
    counts
   ListBenchmark.testReusedLinked200K:·gc.time        thrpt    5  1724.000      
        ms
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to