Senin, 28 Maret 2011

Improving CLRProfiler 2: 19.7% in TryGetValue

Playing with Visual Studio 2010 profiler data Function Code View finds another easy target for improvement: 19.7% in calling TryGetValue on a Dictionary object: This piece of code is called in 'c' command process for logged method call information. There are just millions of method calls in the profile we're testing with. The code uses Dictionary::TryGetValue to see if a thread has unprocessed

Tidak ada komentar:

Posting Komentar