-
Notifications
You must be signed in to change notification settings - Fork 0
Benchmarks
Alina Bondarets edited this page Sep 1, 2022
·
4 revisions
Benchmarks are written using the Google Benchmark library. There are 3 Fixture tests:
- Multiple Producer Multiple Consumer (EnqueueDequeue)
- Multiple Producer Single Consumer (EnqueueDequeueOnce)
- Single Producer Multiple Consumer (EnqueueOnceDequeue)
Each test runned with 3 different data types:
int
std::string
- a simple custom
struct
❕❕❕ There is bad_alloc error while running with std::string
Also, MS Queue was tested with 2 different back-offs:
- Exponential
- Yield
- Google Benchmarks:
- Fixtures: