You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CP-307958: Replace mutexes with Atomic where possible
Atomic has lower overhead, and can be used for simple situations (incrementing an integer, setting a boolean).
```
Mutex+incr (ns):
{ monotonic-clock per run = 32.272091 (confidence: 32.365531 to 32.170138);
r² = Some 0.999441 }
Atomic.incr (ns):
{ monotonic-clock per run = 2.938678 (confidence: 2.944486 to 2.933688);
r² = Some 0.999857 }
```
No functional change
Signed-off-by: Edwin Török <[email protected]>
0 commit comments