| ... | ... | @@ -32,6 +32,7 @@ This test consists of measuring the execution time of 50000 increments of an int |
|
|
|
| 4 | std::atomic | ~132 |
|
|
|
|
| 8 | FastMutex | 3647 ± 7.6 |
|
|
|
|
| 8 | std::atomic | ~132 |
|
|
|
|
|
|
|
|
Results show that std::atomic performs practically the same as a normal integer.
|
|
|
|
|
|
|
|
## Test 3: comparison of using std::atomic vs FastMutex as synchronizer
|
| ... | ... | |