Discussion about this post

User's avatar
Todd Decker's avatar

Very nice article. Well written with the exception of a few typos. With respect to the conclusions, from your benchmarks it seems to me that parking lot mutexes only give advantage in that bursty situation and, unless one really knows their performance behavior matches, in most other case std mutex performance is much better. So, seems to me like using it outside of that very known behavior situation would be unwise.

Expand full comment
Seth's avatar

On scenario 4 - Performance Metrics you have mean wait time inverted. 612 us is 7.5x better than 6.1ms but it's coded as a winner "std".

Expand full comment
1 more comment...

No posts

Ready for more?