Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to calculate/profile percentage of parallelized C# Code

Greeting,

I'm working on performance improvement for my application by enabling the multi-thread. I learned from the "Amdahl's law", it requires >50% of parallelized code to achieve 2x speedup in 8 cores processor. Hence I just wondering is there any tool in the market provides parallelized code coverage or profiling that can help me to improve the performance?

like image 262
hygoh2k Avatar asked Dec 01 '10 08:12

hygoh2k


2 Answers

If you're using vs 2010, you can use the concurrency visualizer for profiling multi-threaded apps.

like image 114
dashton Avatar answered Nov 08 '22 10:11

dashton


If you are using .Net 4.0 then

Use Task Parallel Library , Parallel Loops

i have herad of Jinx but this is for code analyzing / debugging may be of any help

like image 1
TalentTuner Avatar answered Nov 08 '22 10:11

TalentTuner