zipkin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-zipkin] anuraaga opened a new pull request #2592: Add benchmark of jackson span decoder.
Date Wed, 15 May 2019 07:53:46 GMT
anuraaga opened a new pull request #2592: Add benchmark of jackson span decoder.
URL: https://github.com/apache/incubator-zipkin/pull/2592
 
 
   Figured it's worth comparing. Jackson does seem to be quite a bit faster
   
   ```
   Benchmark                                                                          Mode
  Cnt        Score        Error   Units
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder                                    sample
 5901     2544.586 ±     12.446   us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.00    sample
          2265.088                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.50    sample
          2482.176                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.90    sample
          2805.760                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.95    sample
          2977.792                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.99    sample
          3890.954                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.999   sample
          5007.720                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p0.9999  sample
          6234.112                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:bytebuffer_jacksonDecoder·p1.00    sample
          6234.112                us/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.alloc.rate                     sample
   15      485.928 ±     11.010  MB/sec
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.alloc.rate.norm                sample
   15  1947212.928 ±  54268.319    B/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.churn.G1_Eden_Space            sample
   15      474.709 ±     41.802  MB/sec
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.churn.G1_Eden_Space.norm       sample
   15  1902536.334 ± 174257.340    B/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.churn.G1_Old_Gen               sample
   15        0.522 ±      0.229  MB/sec
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.churn.G1_Old_Gen.norm          sample
   15     2081.496 ±    900.600    B/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.churn.G1_Survivor_Space        sample
   15        0.710 ±      0.422  MB/sec
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.churn.G1_Survivor_Space.norm   sample
   15     2845.078 ±   1710.011    B/op
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.count                          sample
   15       63.000               counts
   JsonCodecBenchmarks.bytebuffer_jacksonDecoder:·gc.time                           sample
   15       59.000                   ms
   JsonCodecBenchmarks.bytebuffer_moshiDecoder                                      sample
 3622     4149.591 ±     23.637   us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.00        sample
          3538.944                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.50        sample
          4083.712                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.90        sample
          4579.328                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.95        sample
          4800.512                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.99        sample
          5726.863                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.999       sample
          7977.124                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p0.9999      sample
         10633.216                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:bytebuffer_moshiDecoder·p1.00        sample
         10633.216                us/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.alloc.rate                       sample
   15      475.416 ±     22.444  MB/sec
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.alloc.rate.norm                  sample
   15  3105210.609 ±     90.856    B/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.churn.G1_Eden_Space              sample
   15      481.880 ±     36.226  MB/sec
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.churn.G1_Eden_Space.norm         sample
   15  3147773.994 ± 201647.808    B/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.churn.G1_Old_Gen                 sample
   15        0.362 ±      0.278  MB/sec
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.churn.G1_Old_Gen.norm            sample
   15     2371.526 ±   1847.100    B/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.churn.G1_Survivor_Space          sample
   15        0.355 ±      0.367  MB/sec
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.churn.G1_Survivor_Space.norm     sample
   15     2297.098 ±   2382.129    B/op
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.count                            sample
   15       68.000               counts
   JsonCodecBenchmarks.bytebuffer_moshiDecoder:·gc.time                             sample
   15       62.000                   ms
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder                                     sample
 4316     3480.430 ±     19.196   us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.00      sample
          3084.288                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.50      sample
          3387.392                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.90      sample
          3825.664                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.95      sample
          4027.597                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.99      sample
          4951.982                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.999     sample
          6742.819                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p0.9999    sample
         12369.920                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:bytebuffer_zipkinDecoder·p1.00      sample
         12369.920                us/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.alloc.rate                      sample
   15      526.684 ±     10.409  MB/sec
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.alloc.rate.norm                 sample
   15  2885357.205 ±  29202.870    B/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.churn.G1_Eden_Space             sample
   15      531.141 ±     56.507  MB/sec
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.churn.G1_Eden_Space.norm        sample
   15  2909782.493 ± 305111.674    B/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.churn.G1_Old_Gen                sample
   15        0.559 ±      0.244  MB/sec
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.churn.G1_Old_Gen.norm           sample
   15     3056.974 ±   1313.696    B/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.churn.G1_Survivor_Space         sample
   15        0.754 ±      0.593  MB/sec
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.churn.G1_Survivor_Space.norm    sample
   15     4131.131 ±   3233.971    B/op
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.count                           sample
   15       75.000               counts
   JsonCodecBenchmarks.bytebuffer_zipkinDecoder:·gc.time                            sample
   15       75.000                   ms
   JsonCodecBenchmarks.bytes_jacksonDecoder                                         sample
 5923     2535.539 ±     15.459   us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.00              sample
          2232.320                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.50              sample
          2461.696                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.90              sample
          2793.472                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.95              sample
          3006.464                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.99              sample
          3869.737                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.999             sample
          6267.011                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p0.9999            sample
         15925.248                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:bytes_jacksonDecoder·p1.00              sample
         15925.248                us/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.alloc.rate                          sample
   15      494.354 ±      9.378  MB/sec
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.alloc.rate.norm                     sample
   15  1973729.248 ±     52.341    B/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.churn.G1_Eden_Space                 sample
   15      497.189 ±     41.667  MB/sec
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.churn.G1_Eden_Space.norm            sample
   15  1985573.255 ± 170232.613    B/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.churn.G1_Old_Gen                    sample
   15        0.487 ±      0.338  MB/sec
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.churn.G1_Old_Gen.norm               sample
   15     1935.626 ±   1341.708    B/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.churn.G1_Survivor_Space             sample
   15        0.310 ±      0.367  MB/sec
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.churn.G1_Survivor_Space.norm        sample
   15     1249.878 ±   1478.821    B/op
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.count                               sample
   15       70.000               counts
   JsonCodecBenchmarks.bytes_jacksonDecoder:·gc.time                                sample
   15       70.000                   ms
   JsonCodecBenchmarks.bytes_moshiDecoder                                           sample
 3418     4399.938 ±     35.054   us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.00                  sample
          3588.096                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.50                  sample
          4374.528                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.90                  sample
          4825.088                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.95                  sample
          5169.562                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.99                  sample
          7517.143                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.999                 sample
          9332.654                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p0.9999                sample
         11091.968                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:bytes_moshiDecoder·p1.00                  sample
         11091.968                us/op
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.alloc.rate                            sample
   15      513.047 ±     34.288  MB/sec
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.alloc.rate.norm                       sample
   15  3552581.606 ±  29222.197    B/op
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.churn.G1_Eden_Space                   sample
   15      521.506 ±     56.109  MB/sec
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.churn.G1_Eden_Space.norm              sample
   15  3611983.639 ± 309826.684    B/op
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.churn.G1_Old_Gen                      sample
   15        0.384 ±      0.341  MB/sec
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.churn.G1_Old_Gen.norm                 sample
   15     2653.762 ±   2449.685    B/op
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.churn.G1_Survivor_Space               sample
   15        0.664 ±      0.710  MB/sec
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.churn.G1_Survivor_Space.norm          sample
   15     4617.205 ±   5086.783    B/op
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.count                                 sample
   15       69.000               counts
   JsonCodecBenchmarks.bytes_moshiDecoder:·gc.time                                  sample
   15       58.000                   ms
   JsonCodecBenchmarks.bytes_zipkinDecoder                                          sample
 3747     4012.987 ±     26.430   us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.00                sample
          3317.760                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.50                sample
          3985.408                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.90                sample
          4251.648                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.95                sample
          4800.512                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.99                sample
          6500.516                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.999               sample
          7707.001                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p0.9999              sample
          8355.840                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:bytes_zipkinDecoder·p1.00                sample
          8355.840                us/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.alloc.rate                           sample
   15      459.039 ±     11.709  MB/sec
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.alloc.rate.norm                      sample
   15  2898592.404 ±  12521.738    B/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.churn.G1_Eden_Space                  sample
   15      460.318 ±     53.819  MB/sec
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.churn.G1_Eden_Space.norm             sample
   15  2910512.906 ± 370418.450    B/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.churn.G1_Old_Gen                     sample
   15        0.682 ±      0.388  MB/sec
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.churn.G1_Old_Gen.norm                sample
   15     4328.483 ±   2484.072    B/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.churn.G1_Survivor_Space              sample
   15        0.576 ±      0.592  MB/sec
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.churn.G1_Survivor_Space.norm         sample
   15     3643.936 ±   3786.948    B/op
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.count                                sample
   15       65.000               counts
   JsonCodecBenchmarks.bytes_zipkinDecoder:·gc.time                                 sample
   15       64.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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message