Skip to content

Instantly share code, notes, and snippets.

@anarazel
Last active July 12, 2023 19: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 anarazel/a8516e8a130f204779b38d1ca1f12ffd to your computer and use it in GitHub Desktop.
Save anarazel/a8516e8a130f204779b38d1ca1f12ffd to your computer and use it in GitHub Desktop.
bits: 32, method: NON_ATOMIC_METHOD_RACY, concurrency: 1:
throughput per thread: 603.36M/s, total: 603.36M/s
bits: 32, method: NON_ATOMIC_METHOD_RACY, concurrency: 40:
final counters after killing are: 19991546, per-thread counters sum 678064093, diff -658072547 (allowed <= -40), retries 0
throughput per thread: 5.65M/s, total: 226.02M/s
bits: 32, method: NON_ATOMIC_METHOD_RACY, concurrency: 160:
final counters after killing are: 20702649, per-thread counters sum 696222934, diff -675520285 (allowed <= -160), retries 0
throughput per thread: 1.45M/s, total: 232.07M/s
bits: 32, method: ATOMIC_METHOD_MUTEX, concurrency: 1:
throughput per thread: 59.90M/s, total: 59.90M/s
bits: 32, method: ATOMIC_METHOD_MUTEX, concurrency: 40:
throughput per thread: 0.25M/s, total: 10.18M/s
bits: 32, method: ATOMIC_METHOD_MUTEX, concurrency: 160:
throughput per thread: 0.06M/s, total: 10.37M/s
bits: 32, method: ATOMIC_METHOD_ADD, concurrency: 1:
throughput per thread: 188.22M/s, total: 188.22M/s
bits: 32, method: ATOMIC_METHOD_ADD, concurrency: 40:
throughput per thread: 1.00M/s, total: 40.06M/s
bits: 32, method: ATOMIC_METHOD_ADD, concurrency: 160:
throughput per thread: 0.25M/s, total: 40.04M/s
bits: 32, method: ATOMIC_METHOD_INC, concurrency: 1:
throughput per thread: 187.93M/s, total: 187.93M/s
bits: 32, method: ATOMIC_METHOD_INC, concurrency: 40:
throughput per thread: 1.02M/s, total: 40.84M/s
bits: 32, method: ATOMIC_METHOD_INC, concurrency: 160:
throughput per thread: 0.26M/s, total: 40.94M/s
bits: 32, method: ATOMIC_METHOD_XADD, concurrency: 1:
throughput per thread: 188.19M/s, total: 188.19M/s
bits: 32, method: ATOMIC_METHOD_XADD, concurrency: 40:
throughput per thread: 1.00M/s, total: 40.05M/s
bits: 32, method: ATOMIC_METHOD_XADD, concurrency: 160:
throughput per thread: 0.25M/s, total: 39.63M/s
bits: 32, method: ATOMIC_METHOD_CMPXCHG, concurrency: 1:
throughput per thread: 109.35M/s, total: 109.35M/s
bits: 32, method: ATOMIC_METHOD_CMPXCHG, concurrency: 40:
throughput per thread: 0.17M/s, total: 6.96M/s
bits: 32, method: ATOMIC_METHOD_CMPXCHG, concurrency: 160:
throughput per thread: 0.05M/s, total: 7.45M/s
bits: 32, method: ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 1:
throughput per thread: 109.06M/s, total: 109.06M/s
bits: 32, method: ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 40:
throughput per thread: 0.25M/s, total: 9.88M/s
bits: 32, method: ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 160:
throughput per thread: 0.06M/s, total: 9.78M/s
bits: 32, method: NON_ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 1:
throughput per thread: 484.25M/s, total: 484.25M/s
bits: 32, method: NON_ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 40:
final counters after killing are: 20120824, per-thread counters sum 663060848, diff -642940024 (allowed <= -40), retries 7422402
throughput per thread: 5.53M/s, total: 221.02M/s
bits: 32, method: NON_ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 160:
final counters after killing are: 19997203, per-thread counters sum 663203296, diff -643206093 (allowed <= -160), retries 7446693
throughput per thread: 1.38M/s, total: 221.07M/s
bits: 64, method: NON_ATOMIC_METHOD_RACY, concurrency: 1:
throughput per thread: 606.20M/s, total: 606.20M/s
bits: 64, method: NON_ATOMIC_METHOD_RACY, concurrency: 40:
final counters after killing are: 20631960, per-thread counters sum 700604541, diff -679972581 (allowed <= -40), retries 0
throughput per thread: 5.84M/s, total: 233.53M/s
bits: 64, method: NON_ATOMIC_METHOD_RACY, concurrency: 160:
final counters after killing are: 20647283, per-thread counters sum 692417368, diff -671770085 (allowed <= -160), retries 0
throughput per thread: 1.44M/s, total: 230.81M/s
bits: 64, method: ATOMIC_METHOD_MUTEX, concurrency: 1:
throughput per thread: 60.15M/s, total: 60.15M/s
bits: 64, method: ATOMIC_METHOD_MUTEX, concurrency: 40:
throughput per thread: 0.25M/s, total: 9.93M/s
bits: 64, method: ATOMIC_METHOD_MUTEX, concurrency: 160:
throughput per thread: 0.06M/s, total: 9.87M/s
bits: 64, method: ATOMIC_METHOD_ADD, concurrency: 1:
throughput per thread: 188.21M/s, total: 188.21M/s
bits: 64, method: ATOMIC_METHOD_ADD, concurrency: 40:
throughput per thread: 1.01M/s, total: 40.20M/s
bits: 64, method: ATOMIC_METHOD_ADD, concurrency: 160:
throughput per thread: 0.25M/s, total: 40.28M/s
bits: 64, method: ATOMIC_METHOD_INC, concurrency: 1:
throughput per thread: 188.06M/s, total: 188.06M/s
bits: 64, method: ATOMIC_METHOD_INC, concurrency: 40:
throughput per thread: 1.01M/s, total: 40.29M/s
bits: 64, method: ATOMIC_METHOD_INC, concurrency: 160:
throughput per thread: 0.24M/s, total: 38.98M/s
bits: 64, method: ATOMIC_METHOD_XADD, concurrency: 1:
throughput per thread: 187.33M/s, total: 187.33M/s
bits: 64, method: ATOMIC_METHOD_XADD, concurrency: 40:
throughput per thread: 1.00M/s, total: 40.04M/s
bits: 64, method: ATOMIC_METHOD_XADD, concurrency: 160:
throughput per thread: 0.24M/s, total: 39.19M/s
bits: 64, method: ATOMIC_METHOD_CMPXCHG, concurrency: 1:
throughput per thread: 109.27M/s, total: 109.27M/s
bits: 64, method: ATOMIC_METHOD_CMPXCHG, concurrency: 40:
throughput per thread: 0.20M/s, total: 8.12M/s
bits: 64, method: ATOMIC_METHOD_CMPXCHG, concurrency: 160:
throughput per thread: 0.05M/s, total: 8.20M/s
bits: 64, method: ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 1:
throughput per thread: 109.18M/s, total: 109.18M/s
bits: 64, method: ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 40:
throughput per thread: 0.22M/s, total: 8.70M/s
bits: 64, method: ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 160:
throughput per thread: 0.05M/s, total: 8.05M/s
bits: 64, method: NON_ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 1:
throughput per thread: 456.77M/s, total: 456.77M/s
bits: 64, method: NON_ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 40:
final counters after killing are: 20004061, per-thread counters sum 645170368, diff -625166307 (allowed <= -40), retries 7242940
throughput per thread: 5.38M/s, total: 215.06M/s
bits: 64, method: NON_ATOMIC_METHOD_CMPXCHG_ASM, concurrency: 160:
final counters after killing are: 20777747, per-thread counters sum 669478707, diff -648700960 (allowed <= -160), retries 7635431
throughput per thread: 1.39M/s, total: 223.16M/s
bits: 128, method: NON_ATOMIC_METHOD_RACY, concurrency: 1:
throughput per thread: 590.53M/s, total: 590.53M/s
bits: 128, method: NON_ATOMIC_METHOD_RACY, concurrency: 40:
final counters after killing are: 12456635, per-thread counters sum 407842196, diff -395385561 (allowed <= -40), retries 0
throughput per thread: 3.40M/s, total: 135.95M/s
bits: 128, method: NON_ATOMIC_METHOD_RACY, concurrency: 160:
final counters after killing are: 4114013, per-thread counters sum 415504123, diff -411390110 (allowed <= -160), retries 0
throughput per thread: 0.87M/s, total: 138.50M/s
bits: 128, method: ATOMIC_METHOD_MUTEX, concurrency: 1:
throughput per thread: 57.22M/s, total: 57.22M/s
bits: 128, method: ATOMIC_METHOD_MUTEX, concurrency: 40:
throughput per thread: 0.20M/s, total: 8.05M/s
bits: 128, method: ATOMIC_METHOD_MUTEX, concurrency: 160:
throughput per thread: 0.05M/s, total: 8.09M/s
bits: 128, method: ATOMIC_METHOD_CMPXCHG16_ASM, concurrency: 1:
throughput per thread: 79.16M/s, total: 79.16M/s
bits: 128, method: ATOMIC_METHOD_CMPXCHG16_ASM, concurrency: 40:
throughput per thread: 0.10M/s, total: 3.81M/s
bits: 128, method: ATOMIC_METHOD_CMPXCHG16_ASM, concurrency: 160:
throughput per thread: 0.02M/s, total: 3.72M/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment