package
sync/atomic
standard library45 standard-library functions from sync/atomic, ranked by how often they are called outside tests and generated code.
- prod calls
- 32,472
- non-test, non-generated
- all calls
- 58,965
- total callsites
- functions
- 45
- ranked in this snapshot
- origin
- std
- standard-library
members
Functions in sync/atomic
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| Bool.Load | 2,863 |
| Bool.Store | 2,660 |
| Int64.Load | 2,247 |
| Pointer.Load | 2,049 |
| Int64.Add | 1,586 |
| AddInt64 | 1,377 |
| Value.Load | 1,322 |
| LoadInt64 | 1,318 |
| Value.Store | 1,317 |
| Pointer.Store | 1,277 |
| AddUint64 | 1,147 |
| Int64.Store | 1,043 |
| LoadUint64 | 913 |
| Uint64.Load | 910 |
| LoadInt32 | 901 |
| Int32.Load | 848 |
| Uint64.Add | 839 |
| Int32.Add | 760 |
| AddInt32 | 645 |
| CompareAndSwapInt32 | 595 |
| StoreInt32 | 562 |
| LoadUint32 | 533 |
| StoreInt64 | 479 |
| Bool.CompareAndSwap | 437 |
| StoreUint32 | 381 |
| Uint32.Load | 347 |
| AddUint32 | 344 |
| Int32.Store | 340 |
| StoreUint64 | 308 |
| Uint64.Store | 291 |
| LoadPointer | 207 |
| Uint32.Store | 194 |
| Bool.Swap | 189 |
| CompareAndSwapUint32 | 168 |
| Uint32.Add | 167 |
| Pointer.Swap | 125 |
| CompareAndSwapInt64 | 123 |
| Pointer.CompareAndSwap | 103 |
| StorePointer | 101 |
| CompareAndSwapUint64 | 91 |
| Int64.CompareAndSwap | 86 |
| Int64.Swap | 77 |
| CompareAndSwapPointer | 70 |
| Int32.CompareAndSwap | 66 |
| SwapInt64 | 66 |