Skip to content

Instantly share code, notes, and snippets.

@mkeskells
Created February 22, 2020 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkeskells/b2519ea2577d118fc93be65770fab705 to your computer and use it in GitHub Desktop.
Save mkeskells/b2519ea2577d118fc93be65770fab705 to your computer and use it in GitHub Desktop.
base Treeset/Treemap benchmark
[info] Benchmark Mode Cnt Score Error Units
[info] TreeMapBenchmark.builderPlus avgt 20 501.758 ▒ 173.078 ns/op
[info] TreeMapBenchmark.builderPlus:╖gc.alloc.rate avgt 20 707.646 ▒ 233.010 MB/sec
[info] TreeMapBenchmark.builderPlus:╖gc.alloc.rate.norm avgt 20 482.801 ▒ 0.003 B/op
[info] TreeMapBenchmark.builderPlus:╖gc.churn.PS_Eden_Space avgt 20 708.336 ▒ 242.180 MB/sec
[info] TreeMapBenchmark.builderPlus:╖gc.churn.PS_Eden_Space.norm avgt 20 479.811 ▒ 29.256 B/op
[info] TreeMapBenchmark.builderPlus:╖gc.churn.PS_Survivor_Space avgt 20 0.112 ▒ 0.056 MB/sec
[info] TreeMapBenchmark.builderPlus:╖gc.churn.PS_Survivor_Space.norm avgt 20 0.075 ▒ 0.035 B/op
[info] TreeMapBenchmark.builderPlus:╖gc.count avgt 20 180.000 counts
[info] TreeMapBenchmark.builderPlus:╖gc.time avgt 20 144.000 ms
[info] TreeMapBenchmark.builderPlusPlusDifferntValues avgt 20 1510614.039 ▒ 469545.279 ns/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.alloc.rate avgt 20 564.325 ▒ 135.276 MB/sec
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.alloc.rate.norm avgt 20 1221090.108 ▒ 3.849 B/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.churn.PS_Eden_Space avgt 20 565.056 ▒ 126.959 MB/sec
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.churn.PS_Eden_Space.norm avgt 20 1230589.937 ▒ 92848.002 B/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.churn.PS_Survivor_Space avgt 20 0.154 ▒ 0.062 MB/sec
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.churn.PS_Survivor_Space.norm avgt 20 329.810 ▒ 95.292 B/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.count avgt 20 190.000 counts
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:╖gc.time avgt 20 156.000 ms
[info] TreeMapBenchmark.builderPlusPlusInitial avgt 20 475051.482 ▒ 124522.828 ns/op
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.alloc.rate avgt 20 759.814 ▒ 178.023 MB/sec
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.alloc.rate.norm avgt 20 524992.720 ▒ 1.385 B/op
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Eden_Space avgt 20 760.030 ▒ 188.893 MB/sec
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Eden_Space.norm avgt 20 523643.782 ▒ 29564.282 B/op
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Survivor_Space avgt 20 0.204 ▒ 0.102 MB/sec
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Survivor_Space.norm avgt 20 134.928 ▒ 49.072 B/op
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.count avgt 20 184.000 counts
[info] TreeMapBenchmark.builderPlusPlusInitial:╖gc.time avgt 20 163.000 ms
[info] TreeMapBenchmark.builderPlusPlusLargeLarge avgt 20 925430.339 ▒ 219763.891 ns/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.alloc.rate avgt 20 684.898 ▒ 138.219 MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.alloc.rate.norm avgt 20 936817.359 ▒ 2.542 B/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Eden_Space avgt 20 694.839 ▒ 138.330 MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Eden_Space.norm avgt 20 951342.409 ▒ 38870.495 B/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Survivor_Space avgt 20 0.141 ▒ 0.085 MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Survivor_Space.norm avgt 20 183.664 ▒ 89.278 B/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.count avgt 20 180.000 counts
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:╖gc.time avgt 20 152.000 ms
[info] TreeMapBenchmark.builderPlusPlusLargeSmall avgt 20 553732.699 ▒ 251132.227 ns/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.alloc.rate avgt 20 694.081 ▒ 175.453 MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.alloc.rate.norm avgt 20 528368.893 ▒ 1.744 B/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Eden_Space avgt 20 691.959 ▒ 171.453 MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Eden_Space.norm avgt 20 533191.275 ▒ 43656.227 B/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Survivor_Space avgt 20 0.165 ▒ 0.094 MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Survivor_Space.norm avgt 20 120.415 ▒ 59.760 B/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.count avgt 20 176.000 counts
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:╖gc.time avgt 20 154.000 ms
[info] TreeMapBenchmark.builderPlusPlusSame avgt 20 977358.227 ▒ 206832.964 ns/op
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.alloc.rate avgt 20 600.900 ▒ 123.897 MB/sec
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.alloc.rate.norm avgt 20 873041.571 ▒ 3.063 B/op
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.churn.PS_Eden_Space avgt 20 601.951 ▒ 123.042 MB/sec
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.churn.PS_Eden_Space.norm avgt 20 876530.489 ▒ 69755.627 B/op
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.churn.PS_Survivor_Space avgt 20 0.141 ▒ 0.065 MB/sec
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.churn.PS_Survivor_Space.norm avgt 20 205.355 ▒ 88.244 B/op
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.count avgt 20 172.000 counts
[info] TreeMapBenchmark.builderPlusPlusSame:╖gc.time avgt 20 153.000 ms
[info] TreeMapBenchmark.builderPlusPlusSmallLarge avgt 20 476212.310 ▒ 112393.445 ns/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.alloc.rate avgt 20 747.125 ▒ 152.838 MB/sec
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.alloc.rate.norm avgt 20 526736.739 ▒ 1.422 B/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Eden_Space avgt 20 750.821 ▒ 159.686 MB/sec
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Eden_Space.norm avgt 20 528660.813 ▒ 17937.187 B/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Survivor_Space avgt 20 0.204 ▒ 0.088 MB/sec
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Survivor_Space.norm avgt 20 143.738 ▒ 53.644 B/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.count avgt 20 187.000 counts
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:╖gc.time avgt 20 157.000 ms
[info] TreeMapBenchmark.plusPlus avgt 20 373478.807 ▒ 74630.980 ns/op
[info] TreeMapBenchmark.plusPlus:╖gc.alloc.rate avgt 20 733.241 ▒ 140.355 MB/sec
[info] TreeMapBenchmark.plusPlus:╖gc.alloc.rate.norm avgt 20 409832.547 ▒ 1.014 B/op
[info] TreeMapBenchmark.plusPlus:╖gc.churn.PS_Eden_Space avgt 20 734.984 ▒ 134.585 MB/sec
[info] TreeMapBenchmark.plusPlus:╖gc.churn.PS_Eden_Space.norm avgt 20 412091.990 ▒ 19923.025 B/op
[info] TreeMapBenchmark.plusPlus:╖gc.churn.PS_Survivor_Space avgt 20 0.195 ▒ 0.056 MB/sec
[info] TreeMapBenchmark.plusPlus:╖gc.churn.PS_Survivor_Space.norm avgt 20 109.158 ▒ 26.009 B/op
[info] TreeMapBenchmark.plusPlus:╖gc.count avgt 20 195.000 counts
[info] TreeMapBenchmark.plusPlus:╖gc.time avgt 20 160.000 ms
[info] TreeSetBenchmark.builderPlus avgt 20 432.792 ▒ 130.928 ns/op
[info] TreeSetBenchmark.builderPlus:╖gc.alloc.rate avgt 20 782.648 ▒ 199.283 MB/sec
[info] TreeSetBenchmark.builderPlus:╖gc.alloc.rate.norm avgt 20 482.801 ▒ 0.001 B/op
[info] TreeSetBenchmark.builderPlus:╖gc.churn.PS_Eden_Space avgt 20 792.685 ▒ 186.838 MB/sec
[info] TreeSetBenchmark.builderPlus:╖gc.churn.PS_Eden_Space.norm avgt 20 494.038 ▒ 30.018 B/op
[info] TreeSetBenchmark.builderPlus:╖gc.churn.PS_Survivor_Space avgt 20 0.194 ▒ 0.101 MB/sec
[info] TreeSetBenchmark.builderPlus:╖gc.churn.PS_Survivor_Space.norm avgt 20 0.115 ▒ 0.042 B/op
[info] TreeSetBenchmark.builderPlus:╖gc.count avgt 20 183.000 counts
[info] TreeSetBenchmark.builderPlus:╖gc.time avgt 20 152.000 ms
[info] TreeSetBenchmark.builderPlusPlusInitial avgt 20 461546.849 ▒ 113012.538 ns/op
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.alloc.rate avgt 20 739.824 ▒ 164.732 MB/sec
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.alloc.rate.norm avgt 20 500992.844 ▒ 1.749 B/op
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Eden_Space avgt 20 738.387 ▒ 154.477 MB/sec
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Eden_Space.norm avgt 20 502731.810 ▒ 25044.259 B/op
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Survivor_Space avgt 20 0.220 ▒ 0.085 MB/sec
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.churn.PS_Survivor_Space.norm avgt 20 145.403 ▒ 48.215 B/op
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.count avgt 20 192.000 counts
[info] TreeSetBenchmark.builderPlusPlusInitial:╖gc.time avgt 20 164.000 ms
[info] TreeSetBenchmark.builderPlusPlusLargeLarge avgt 20 951810.987 ▒ 256844.487 ns/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.alloc.rate avgt 20 640.598 ▒ 142.190 MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.alloc.rate.norm avgt 20 888817.362 ▒ 2.504 B/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Eden_Space avgt 20 640.430 ▒ 142.251 MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Eden_Space.norm avgt 20 888811.779 ▒ 35769.441 B/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Survivor_Space avgt 20 0.187 ▒ 0.074 MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.churn.PS_Survivor_Space.norm avgt 20 252.089 ▒ 83.673 B/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.count avgt 20 180.000 counts
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:╖gc.time avgt 20 155.000 ms
[info] TreeSetBenchmark.builderPlusPlusLargeSmall avgt 20 494615.964 ▒ 93633.707 ns/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.alloc.rate avgt 20 678.734 ▒ 131.850 MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.alloc.rate.norm avgt 20 503808.691 ▒ 1.265 B/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Eden_Space avgt 20 677.103 ▒ 140.265 MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Eden_Space.norm avgt 20 501886.953 ▒ 30690.317 B/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Survivor_Space avgt 20 0.208 ▒ 0.074 MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.churn.PS_Survivor_Space.norm avgt 20 157.358 ▒ 51.901 B/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.count avgt 20 172.000 counts
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:╖gc.time avgt 20 156.000 ms
[info] TreeSetBenchmark.builderPlusPlusSame avgt 20 832849.598 ▒ 162220.679 ns/op
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.alloc.rate avgt 20 632.521 ▒ 111.863 MB/sec
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.alloc.rate.norm avgt 20 793041.551 ▒ 3.189 B/op
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.churn.PS_Eden_Space avgt 20 635.761 ▒ 109.904 MB/sec
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.churn.PS_Eden_Space.norm avgt 20 799134.439 ▒ 34981.708 B/op
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.churn.PS_Survivor_Space avgt 20 0.191 ▒ 0.064 MB/sec
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.churn.PS_Survivor_Space.norm avgt 20 236.798 ▒ 59.022 B/op
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.count avgt 20 178.000 counts
[info] TreeSetBenchmark.builderPlusPlusSame:╖gc.time avgt 20 153.000 ms
[info] TreeSetBenchmark.builderPlusPlusSmallLarge avgt 20 497649.112 ▒ 165122.491 ns/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.alloc.rate avgt 20 721.876 ▒ 197.746 MB/sec
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.alloc.rate.norm avgt 20 502176.952 ▒ 1.995 B/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Eden_Space avgt 20 730.486 ▒ 204.344 MB/sec
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Eden_Space.norm avgt 20 507739.240 ▒ 22209.657 B/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Survivor_Space avgt 20 0.208 ▒ 0.089 MB/sec
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.churn.PS_Survivor_Space.norm avgt 20 142.495 ▒ 50.153 B/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.count avgt 20 176.000 counts
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:╖gc.time avgt 20 152.000 ms
[info] TreeSetBenchmark.plusPlus avgt 20 425446.136 ▒ 110873.013 ns/op
[info] TreeSetBenchmark.plusPlus:╖gc.alloc.rate avgt 20 623.276 ▒ 146.622 MB/sec
[info] TreeSetBenchmark.plusPlus:╖gc.alloc.rate.norm avgt 20 385832.821 ▒ 1.717 B/op
[info] TreeSetBenchmark.plusPlus:╖gc.churn.PS_Eden_Space avgt 20 624.478 ▒ 134.932 MB/sec
[info] TreeSetBenchmark.plusPlus:╖gc.churn.PS_Eden_Space.norm avgt 20 390087.107 ▒ 23687.957 B/op
[info] TreeSetBenchmark.plusPlus:╖gc.churn.PS_Survivor_Space avgt 20 0.149 ▒ 0.067 MB/sec
[info] TreeSetBenchmark.plusPlus:╖gc.churn.PS_Survivor_Space.norm avgt 20 93.531 ▒ 40.092 B/op
[info] TreeSetBenchmark.plusPlus:╖gc.count avgt 20 175.000 counts
[info] TreeSetBenchmark.plusPlus:╖gc.time avgt 20 151.000 ms
@diesalbla
Copy link

Here are the results I got, using the command jmh:run scala.collection.immutable.TreeMapBenchmark --prof gc.

In my case, it was running on AdoptOpenJDK, version 11.0.6.hs-adpt, running on a Quad-Core Intel Core i5

[info] Benchmark                                                                    Mode  Cnt        Score       Error   Units
[info] TreeMapBenchmark.builderPlus                                                 avgt   20      217.341 ±     3.104   ns/op
[info] TreeMapBenchmark.builderPlus:·gc.alloc.rate                                  avgt   20     1411.715 ±    20.624  MB/sec
[info] TreeMapBenchmark.builderPlus:·gc.alloc.rate.norm                             avgt   20      482.800 ±     0.001    B/op
[info] TreeMapBenchmark.builderPlus:·gc.churn.G1_Eden_Space                         avgt   20     1408.737 ±    64.056  MB/sec
[info] TreeMapBenchmark.builderPlus:·gc.churn.G1_Eden_Space.norm                    avgt   20      481.825 ±    21.536    B/op
[info] TreeMapBenchmark.builderPlus:·gc.churn.G1_Old_Gen                            avgt   20        0.016 ±     0.005  MB/sec
[info] TreeMapBenchmark.builderPlus:·gc.churn.G1_Old_Gen.norm                       avgt   20        0.005 ±     0.002    B/op
[info] TreeMapBenchmark.builderPlus:·gc.count                                       avgt   20      192.000              counts
[info] TreeMapBenchmark.builderPlus:·gc.time                                        avgt   20      110.000                  ms
[info] TreeMapBenchmark.builderPlusPlusDifferntValues                               avgt   20   720903.598 ±  6149.924   ns/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.alloc.rate                avgt   20     1075.600 ±     9.028  MB/sec
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.alloc.rate.norm           avgt   20  1221089.076 ±     2.082    B/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.churn.G1_Eden_Space       avgt   20     1076.475 ±    48.277  MB/sec
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.churn.G1_Eden_Space.norm  avgt   20  1222118.832 ± 54784.455    B/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.churn.G1_Old_Gen          avgt   20        0.025 ±     0.007  MB/sec
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.churn.G1_Old_Gen.norm     avgt   20       28.255 ±     8.152    B/op
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.count                     avgt   20      162.000              counts
[info] TreeMapBenchmark.builderPlusPlusDifferntValues:·gc.time                      avgt   20       85.000                  ms
[info] TreeMapBenchmark.builderPlusPlusInitial                                      avgt   20   247461.035 ±   984.978   ns/op
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.alloc.rate                       avgt   20     1347.442 ±     5.692  MB/sec
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.alloc.rate.norm                  avgt   20   524992.369 ±     0.709    B/op
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.churn.G1_Eden_Space              avgt   20     1357.726 ±    57.350  MB/sec
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.churn.G1_Eden_Space.norm         avgt   20   528978.518 ± 21812.786    B/op
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.churn.G1_Old_Gen                 avgt   20        0.039 ±     0.006  MB/sec
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.churn.G1_Old_Gen.norm            avgt   20       15.341 ±     2.149    B/op
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.count                            avgt   20      185.000              counts
[info] TreeMapBenchmark.builderPlusPlusInitial:·gc.time                             avgt   20      103.000                  ms
[info] TreeMapBenchmark.builderPlusPlusLargeLarge                                   avgt   20   486064.428 ±  6462.422   ns/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.alloc.rate                    avgt   20     1224.120 ±    15.624  MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.alloc.rate.norm               avgt   20   936816.726 ±     1.400    B/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Eden_Space           avgt   20     1224.679 ±    61.699  MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Eden_Space.norm      avgt   20   937371.736 ± 47667.804    B/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Old_Gen              avgt   20        0.022 ±     0.003  MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Old_Gen.norm         avgt   20       17.215 ±     2.185    B/op
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.count                         avgt   20      167.000              counts
[info] TreeMapBenchmark.builderPlusPlusLargeLarge:·gc.time                          avgt   20       96.000                  ms
[info] TreeMapBenchmark.builderPlusPlusLargeSmall                                   avgt   20   277774.614 ±  4581.962   ns/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.alloc.rate                    avgt   20     1207.276 ±    21.045  MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.alloc.rate.norm               avgt   20   528368.414 ±     0.800    B/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Eden_Space           avgt   20     1208.864 ±    57.492  MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Eden_Space.norm      avgt   20   529054.818 ± 23068.823    B/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Old_Gen              avgt   20        0.025 ±     0.004  MB/sec
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Old_Gen.norm         avgt   20       10.809 ±     1.767    B/op
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.count                         avgt   20      165.000              counts
[info] TreeMapBenchmark.builderPlusPlusLargeSmall:·gc.time                          avgt   20      100.000                  ms
[info] TreeMapBenchmark.builderPlusPlusSame                                         avgt   20   487644.648 ±  8321.616   ns/op
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.alloc.rate                          avgt   20     1136.748 ±    19.846  MB/sec
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.alloc.rate.norm                     avgt   20   873040.726 ±     1.403    B/op
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.churn.G1_Eden_Space                 avgt   20     1137.714 ±    63.566  MB/sec
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.churn.G1_Eden_Space.norm            avgt   20   873681.638 ± 45060.968    B/op
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.churn.G1_Old_Gen                    avgt   20        0.027 ±     0.018  MB/sec
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.churn.G1_Old_Gen.norm               avgt   20       20.183 ±    13.206    B/op
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.count                               avgt   20      172.000              counts
[info] TreeMapBenchmark.builderPlusPlusSame:·gc.time                                avgt   20       95.000                  ms
[info] TreeMapBenchmark.builderPlusPlusSmallLarge                                   avgt   20   280803.050 ±   379.557   ns/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.alloc.rate                    avgt   20     1188.924 ±     2.523  MB/sec
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.alloc.rate.norm               avgt   20   526736.418 ±     0.807    B/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Eden_Space           avgt   20     1183.969 ±    39.681  MB/sec
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Eden_Space.norm      avgt   20   524528.104 ± 17196.142    B/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Old_Gen              avgt   20        0.018 ±     0.004  MB/sec
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Old_Gen.norm         avgt   20        8.095 ±     1.767    B/op
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.count                         avgt   20      162.000              counts
[info] TreeMapBenchmark.builderPlusPlusSmallLarge:·gc.time                          avgt   20       94.000                  ms
[info] TreeMapBenchmark.plusPlus                                                    avgt   20   221443.235 ±   755.535   ns/op
[info] TreeMapBenchmark.plusPlus:·gc.alloc.rate                                     avgt   20     1172.770 ±     4.293  MB/sec
[info] TreeMapBenchmark.plusPlus:·gc.alloc.rate.norm                                avgt   20   409832.362 ±     0.632    B/op
[info] TreeMapBenchmark.plusPlus:·gc.churn.G1_Eden_Space                            avgt   20     1177.478 ±    29.653  MB/sec
[info] TreeMapBenchmark.plusPlus:·gc.churn.G1_Eden_Space.norm                       avgt   20   411468.195 ±  9896.288    B/op
[info] TreeMapBenchmark.plusPlus:·gc.churn.G1_Old_Gen                               avgt   20        0.073 ±     0.007  MB/sec
[info] TreeMapBenchmark.plusPlus:·gc.churn.G1_Old_Gen.norm                          avgt   20       25.664 ±     2.397    B/op
[info] TreeMapBenchmark.plusPlus:·gc.count                                          avgt   20      161.000              counts
[info] TreeMapBenchmark.plusPlus:·gc.time                                           avgt   20       92.000                  ms

@diesalbla
Copy link

And here are the ones for the TreeSetBenchmark:

[info] Benchmark                                                                Mode  Cnt       Score       Error   Units
[info] TreeSetBenchmark.builderPlus                                             avgt   20     213.220 ±     0.755   ns/op
[info] TreeSetBenchmark.builderPlus:·gc.alloc.rate                              avgt   20    1437.504 ±     6.054  MB/sec
[info] TreeSetBenchmark.builderPlus:·gc.alloc.rate.norm                         avgt   20     482.800 ±     0.001    B/op
[info] TreeSetBenchmark.builderPlus:·gc.churn.G1_Eden_Space                     avgt   20    1436.868 ±    51.971  MB/sec
[info] TreeSetBenchmark.builderPlus:·gc.churn.G1_Eden_Space.norm                avgt   20     482.578 ±    17.161    B/op
[info] TreeSetBenchmark.builderPlus:·gc.churn.G1_Old_Gen                        avgt   20       0.016 ±     0.005  MB/sec
[info] TreeSetBenchmark.builderPlus:·gc.churn.G1_Old_Gen.norm                   avgt   20       0.005 ±     0.002    B/op
[info] TreeSetBenchmark.builderPlus:·gc.count                                   avgt   20     196.000              counts
[info] TreeSetBenchmark.builderPlus:·gc.time                                    avgt   20     106.000                  ms
[info] TreeSetBenchmark.builderPlusPlusInitial                                  avgt   20  233718.971 ±   614.299   ns/op
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.alloc.rate                   avgt   20    1360.029 ±     3.515  MB/sec
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.alloc.rate.norm              avgt   20  500992.347 ±     0.671    B/op
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.churn.G1_Eden_Space          avgt   20    1362.704 ±    59.481  MB/sec
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.churn.G1_Eden_Space.norm     avgt   20  501969.269 ± 21707.442    B/op
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.churn.G1_Old_Gen             avgt   20       0.034 ±     0.005  MB/sec
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.churn.G1_Old_Gen.norm        avgt   20      12.583 ±     1.867    B/op
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.count                        avgt   20     186.000              counts
[info] TreeSetBenchmark.builderPlusPlusInitial:·gc.time                         avgt   20     100.000                  ms
[info] TreeSetBenchmark.builderPlusPlusLargeLarge                               avgt   20  458022.547 ±  3333.381   ns/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.alloc.rate                avgt   20    1231.671 ±     8.943  MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.alloc.rate.norm           avgt   20  888816.678 ±     1.315    B/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Eden_Space       avgt   20    1231.953 ±    38.318  MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Eden_Space.norm  avgt   20  889046.769 ± 27508.790    B/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Old_Gen          avgt   20       0.096 ±     0.009  MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.churn.G1_Old_Gen.norm     avgt   20      69.525 ±     6.512    B/op
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.count                     avgt   20     203.000              counts
[info] TreeSetBenchmark.builderPlusPlusLargeLarge:·gc.time                      avgt   20      99.000                  ms
[info] TreeSetBenchmark.builderPlusPlusLargeSmall                               avgt   20  277753.796 ±  1562.903   ns/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.alloc.rate                avgt   20    1151.693 ±     6.746  MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.alloc.rate.norm           avgt   20  503808.415 ±     0.803    B/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Eden_Space       avgt   20    1151.026 ±    47.408  MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Eden_Space.norm  avgt   20  503555.957 ± 21303.449    B/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Old_Gen          avgt   20       0.018 ±     0.009  MB/sec
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.churn.G1_Old_Gen.norm     avgt   20       8.042 ±     4.113    B/op
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.count                     avgt   20     173.000              counts
[info] TreeSetBenchmark.builderPlusPlusLargeSmall:·gc.time                      avgt   20      89.000                  ms
[info] TreeSetBenchmark.builderPlusPlusSame                                     avgt   20  466617.724 ±  1522.249   ns/op
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.alloc.rate                      avgt   20    1078.991 ±     3.321  MB/sec
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.alloc.rate.norm                 avgt   20  793040.694 ±     1.341    B/op
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.churn.G1_Eden_Space             avgt   20    1087.165 ±    23.230  MB/sec
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.churn.G1_Eden_Space.norm        avgt   20  799031.026 ± 16320.453    B/op
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.churn.G1_Old_Gen                avgt   20       0.046 ±     0.011  MB/sec
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.churn.G1_Old_Gen.norm           avgt   20      33.970 ±     8.317    B/op
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.count                           avgt   20     179.000              counts
[info] TreeSetBenchmark.builderPlusPlusSame:·gc.time                            avgt   20      88.000                  ms
[info] TreeSetBenchmark.builderPlusPlusSmallLarge                               avgt   20  276628.694 ±  1544.114   ns/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.alloc.rate                avgt   20    1151.990 ±     7.087  MB/sec
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.alloc.rate.norm           avgt   20  502176.412 ±     0.799    B/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Eden_Space       avgt   20    1154.986 ±    53.962  MB/sec
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Eden_Space.norm  avgt   20  503500.467 ± 23606.303    B/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Old_Gen          avgt   20       0.036 ±     0.007  MB/sec
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.churn.G1_Old_Gen.norm     avgt   20      15.533 ±     3.142    B/op
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.count                     avgt   20     174.000              counts
[info] TreeSetBenchmark.builderPlusPlusSmallLarge:·gc.time                      avgt   20      89.000                  ms
[info] TreeSetBenchmark.plusPlus                                                avgt   20  227095.949 ±   909.506   ns/op
[info] TreeSetBenchmark.plusPlus:·gc.alloc.rate                                 avgt   20    1078.350 ±     4.671  MB/sec
[info] TreeSetBenchmark.plusPlus:·gc.alloc.rate.norm                            avgt   20  385832.337 ±     0.652    B/op
[info] TreeSetBenchmark.plusPlus:·gc.churn.G1_Eden_Space                        avgt   20    1081.249 ±    32.204  MB/sec
[info] TreeSetBenchmark.plusPlus:·gc.churn.G1_Eden_Space.norm                   avgt   20  386866.614 ± 11345.460    B/op
[info] TreeSetBenchmark.plusPlus:·gc.churn.G1_Old_Gen                           avgt   20       0.083 ±     0.013  MB/sec
[info] TreeSetBenchmark.plusPlus:·gc.churn.G1_Old_Gen.norm                      avgt   20      29.765 ±     4.666    B/op
[info] TreeSetBenchmark.plusPlus:·gc.count                                      avgt   20     178.000              counts
[info] TreeSetBenchmark.plusPlus:·gc.time                                       avgt   20      89.000                  ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment