By @cmpxchg16 1%-100% writes samples for LongAdderBench.java:
for 1% writes=16,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 1.209ms
AtomicLong 0.281ms
AtomicLong faster than LongAdder by 76.77%
for 2% writes=32,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.019ms
AtomicLong 0.485ms
AtomicLong faster than LongAdder by 75.97%
for 3% writes=48,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.705ms
AtomicLong 0.959ms
AtomicLong faster than LongAdder by 64.53%
for 4% writes=64,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.280ms
AtomicLong 1.086ms
AtomicLong faster than LongAdder by 52.35%
for 5% writes=80,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.195ms
AtomicLong 1.211ms
AtomicLong faster than LongAdder by 44.82%
for 6% writes=96,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.222ms
AtomicLong 1.457ms
AtomicLong faster than LongAdder by 34.43%
for 7% writes=112,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.397ms
AtomicLong 1.615ms
AtomicLong faster than LongAdder by 32.63%
for 8% writes=128,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.652ms
AtomicLong 2.568ms
AtomicLong faster than LongAdder by 3.17%
for 9% writes=144,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.556ms
AtomicLong 2.643ms
LongAdder faster than AtomicLong by 3.40%
for 10% writes=160,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.489ms
AtomicLong 2.639ms
LongAdder faster than AtomicLong by 6.00%
for 11% writes=176,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.812ms
AtomicLong 3.327ms
LongAdder faster than AtomicLong by 18.31%
for 12% writes=192,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.502ms
AtomicLong 3.037ms
LongAdder faster than AtomicLong by 21.39%
for 13% writes=208,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.368ms
AtomicLong 2.960ms
LongAdder faster than AtomicLong by 25.00%
for 14% writes=224,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.582ms
AtomicLong 3.984ms
LongAdder faster than AtomicLong by 54.32%
for 15% writes=240,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.562ms
AtomicLong 3.965ms
LongAdder faster than AtomicLong by 54.79%
for 16% writes=256,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.517ms
AtomicLong 4.315ms
LongAdder faster than AtomicLong by 71.47%
for 17% writes=272,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.108ms
AtomicLong 4.377ms
LongAdder faster than AtomicLong by 107.61%
for 18% writes=288,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.194ms
AtomicLong 4.783ms
LongAdder faster than AtomicLong by 117.97%
for 19% writes=304,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.173ms
AtomicLong 5.021ms
LongAdder faster than AtomicLong by 131.13%
for 20% writes=320,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.612ms
AtomicLong 5.703ms
LongAdder faster than AtomicLong by 118.34%
for 21% writes=336,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.535ms
AtomicLong 5.393ms
LongAdder faster than AtomicLong by 112.72%
for 22% writes=352,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.478ms
AtomicLong 5.857ms
LongAdder faster than AtomicLong by 136.36%
for 23% writes=368,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.410ms
AtomicLong 6.246ms
LongAdder faster than AtomicLong by 159.21%
for 24% writes=384,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.230ms
AtomicLong 6.329ms
LongAdder faster than AtomicLong by 183.75%
for 25% writes=400,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.299ms
AtomicLong 6.484ms
LongAdder faster than AtomicLong by 181.99%
for 26% writes=416,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.567ms
AtomicLong 6.972ms
LongAdder faster than AtomicLong by 171.58%
for 27% writes=432,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.226ms
AtomicLong 7.277ms
LongAdder faster than AtomicLong by 226.95%
for 28% writes=448,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.410ms
AtomicLong 7.521ms
LongAdder faster than AtomicLong by 212.06%
for 29% writes=464,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.318ms
AtomicLong 7.441ms
LongAdder faster than AtomicLong by 221.04%
for 30% writes=480,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.206ms
AtomicLong 8.265ms
LongAdder faster than AtomicLong by 274.57%
for 31% writes=496,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.417ms
AtomicLong 7.948ms
LongAdder faster than AtomicLong by 228.85%
for 32% writes=512,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.345ms
AtomicLong 7.978ms
LongAdder faster than AtomicLong by 240.28%
for 33% writes=528,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.268ms
AtomicLong 8.346ms
LongAdder faster than AtomicLong by 268.03%
for 34% writes=544,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.359ms
AtomicLong 9.269ms
LongAdder faster than AtomicLong by 292.92%
for 35% writes=560,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.469ms
AtomicLong 9.215ms
LongAdder faster than AtomicLong by 273.21%
for 36% writes=576,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.398ms
AtomicLong 9.693ms
LongAdder faster than AtomicLong by 304.18%
for 37% writes=592,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.489ms
AtomicLong 9.368ms
LongAdder faster than AtomicLong by 276.42%
for 38% writes=608,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.369ms
AtomicLong 9.597ms
LongAdder faster than AtomicLong by 305.13%
for 39% writes=624,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.344ms
AtomicLong 10.191ms
LongAdder faster than AtomicLong by 334.73%
for 40% writes=640,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.475ms
AtomicLong 10.557ms
LongAdder faster than AtomicLong by 326.61%
for 41% writes=656,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.406ms
AtomicLong 10.650ms
LongAdder faster than AtomicLong by 342.61%
for 42% writes=672,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.315ms
AtomicLong 11.222ms
LongAdder faster than AtomicLong by 384.76%
for 43% writes=688,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.510ms
AtomicLong 10.819ms
LongAdder faster than AtomicLong by 330.99%
for 44% writes=704,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.563ms
AtomicLong 10.870ms
LongAdder faster than AtomicLong by 324.07%
for 45% writes=720,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.487ms
AtomicLong 11.894ms
LongAdder faster than AtomicLong by 378.19%
for 46% writes=736,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.664ms
AtomicLong 11.663ms
LongAdder faster than AtomicLong by 337.72%
for 47% writes=752,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.576ms
AtomicLong 12.241ms
LongAdder faster than AtomicLong by 375.25%
for 48% writes=768,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.534ms
AtomicLong 11.801ms
LongAdder faster than AtomicLong by 365.71%
for 49% writes=784,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.588ms
AtomicLong 13.042ms
LongAdder faster than AtomicLong by 403.84%
for 50% writes=800,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.615ms
AtomicLong 13.064ms
LongAdder faster than AtomicLong by 399.51%
for 51% writes=816,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.626ms
AtomicLong 13.727ms
LongAdder faster than AtomicLong by 422.81%
for 52% writes=832,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.625ms
AtomicLong 13.818ms
LongAdder faster than AtomicLong by 426.36%
for 53% writes=848,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.624ms
AtomicLong 14.065ms
LongAdder faster than AtomicLong by 435.91%
for 54% writes=864,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.616ms
AtomicLong 13.671ms
LongAdder faster than AtomicLong by 422.62%
for 55% writes=880,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.701ms
AtomicLong 14.516ms
LongAdder faster than AtomicLong by 437.49%
for 56% writes=896,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.670ms
AtomicLong 14.440ms
LongAdder faster than AtomicLong by 440.91%
for 57% writes=912,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.675ms
AtomicLong 15.143ms
LongAdder faster than AtomicLong by 466.06%
for 58% writes=928,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.698ms
AtomicLong 15.536ms
LongAdder faster than AtomicLong by 475.85%
for 59% writes=944,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.753ms
AtomicLong 15.116ms
LongAdder faster than AtomicLong by 449.02%
for 60% writes=960,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.737ms
AtomicLong 15.482ms
LongAdder faster than AtomicLong by 465.63%
for 61% writes=976,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.801ms
AtomicLong 16.003ms
LongAdder faster than AtomicLong by 471.35%
for 62% writes=992,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.775ms
AtomicLong 15.932ms
LongAdder faster than AtomicLong by 474.20%
for 63% writes=1,008,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.782ms
AtomicLong 16.442ms
LongAdder faster than AtomicLong by 491.06%
for 64% writes=1,024,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.640ms
AtomicLong 16.309ms
LongAdder faster than AtomicLong by 517.74%
for 65% writes=1,040,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.806ms
AtomicLong 16.819ms
LongAdder faster than AtomicLong by 499.44%
for 66% writes=1,056,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.823ms
AtomicLong 16.552ms
LongAdder faster than AtomicLong by 486.27%
for 67% writes=1,072,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.846ms
AtomicLong 17.987ms
LongAdder faster than AtomicLong by 532.06%
for 68% writes=1,088,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.878ms
AtomicLong 17.756ms
LongAdder faster than AtomicLong by 517.07%
for 69% writes=1,104,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.858ms
AtomicLong 17.577ms
LongAdder faster than AtomicLong by 514.99%
for 70% writes=1,120,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.863ms
AtomicLong 18.130ms
LongAdder faster than AtomicLong by 533.16%
for 71% writes=1,136,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.787ms
AtomicLong 17.564ms
LongAdder faster than AtomicLong by 530.13%
for 72% writes=1,152,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.896ms
AtomicLong 19.218ms
LongAdder faster than AtomicLong by 563.62%
for 73% writes=1,168,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.958ms
AtomicLong 19.134ms
LongAdder faster than AtomicLong by 546.85%
for 74% writes=1,184,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.971ms
AtomicLong 19.327ms
LongAdder faster than AtomicLong by 550.54%
for 75% writes=1,200,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.007ms
AtomicLong 19.230ms
LongAdder faster than AtomicLong by 539.43%
for 76% writes=1,216,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.031ms
AtomicLong 19.865ms
LongAdder faster than AtomicLong by 555.38%
for 77% writes=1,232,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.009ms
AtomicLong 20.249ms
LongAdder faster than AtomicLong by 572.88%
for 78% writes=1,248,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.008ms
AtomicLong 20.094ms
LongAdder faster than AtomicLong by 568.02%
for 79% writes=1,264,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.005ms
AtomicLong 19.155ms
LongAdder faster than AtomicLong by 537.54%
for 80% writes=1,280,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.043ms
AtomicLong 20.094ms
LongAdder faster than AtomicLong by 560.33%
for 81% writes=1,296,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.038ms
AtomicLong 20.964ms
LongAdder faster than AtomicLong by 590.01%
for 82% writes=1,312,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.943ms
AtomicLong 19.867ms
LongAdder faster than AtomicLong by 575.09%
for 83% writes=1,328,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.081ms
AtomicLong 21.416ms
LongAdder faster than AtomicLong by 595.02%
for 84% writes=1,344,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.085ms
AtomicLong 21.628ms
LongAdder faster than AtomicLong by 601.18%
for 85% writes=1,360,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.104ms
AtomicLong 22.154ms
LongAdder faster than AtomicLong by 613.69%
for 86% writes=1,376,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.006ms
AtomicLong 22.748ms
LongAdder faster than AtomicLong by 656.72%
for 87% writes=1,392,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.140ms
AtomicLong 22.979ms
LongAdder faster than AtomicLong by 631.73%
for 88% writes=1,408,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.096ms
AtomicLong 22.863ms
LongAdder faster than AtomicLong by 638.52%
for 89% writes=1,424,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.171ms
AtomicLong 23.407ms
LongAdder faster than AtomicLong by 638.05%
for 90% writes=1,440,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 2.832ms
AtomicLong 23.989ms
LongAdder faster than AtomicLong by 747.05%
for 91% writes=1,456,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.171ms
AtomicLong 24.439ms
LongAdder faster than AtomicLong by 670.80%
for 92% writes=1,472,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.202ms
AtomicLong 23.867ms
LongAdder faster than AtomicLong by 645.27%
for 93% writes=1,488,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.139ms
AtomicLong 24.131ms
LongAdder faster than AtomicLong by 668.70%
for 94% writes=1,504,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.136ms
AtomicLong 24.561ms
LongAdder faster than AtomicLong by 683.14%
for 95% writes=1,520,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.249ms
AtomicLong 25.085ms
LongAdder faster than AtomicLong by 672.13%
for 96% writes=1,536,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.269ms
AtomicLong 25.932ms
LongAdder faster than AtomicLong by 693.20%
for 97% writes=1,552,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.315ms
AtomicLong 25.993ms
LongAdder faster than AtomicLong by 684.18%
for 98% writes=1,568,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.316ms
AtomicLong 25.282ms
LongAdder faster than AtomicLong by 662.34%
for 99% writes=1,584,000 (16 threads * 100,000 ops each=1,600,000):
LongAdder 3.335ms
AtomicLong 25.703ms
LongAdder faster than AtomicLong by 670.65%