Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Profiling thread sync lock contention

In the past I've used performance profiling tools such as nprof, Equatec profiler and Yourkit profiler to identify and remove/reduce performance bottlenecks in code mostly running in one thread (serialized execution). Nowadays I write a lot of multi-threaded code which can be slowed down by lock contention; what tools and tricks can be used to identify where lock contention is occuring and by how much?

like image 296
redcalx Avatar asked Oct 25 '22 21:10

redcalx


1 Answers

This is available soon, currently shipping in Visual Studio 2010 beta 2. Here's a video of the tool.

like image 169
Hans Passant Avatar answered Nov 08 '22 23:11

Hans Passant