tags:

views:

132

answers:

2

could someone help me to find out how to get the time of execution time of c# methods when i run the application.

if i use clr profiler , i can get object allocation details.

but i am looking for methods or lines of code which took long time to execute.

+1  A: 

Try JetBrain's dotTrace or ANTS profiler.

Screenshot of dotTrace profiler's output:

aku
A: 

I would suggest you get hold of a commercial profiler if you can. They provide much better laid out information to help you isolate where the bottlenecks and memory leaks may be. Check out Red Gate ANTS profiler or JetBrains dotTrace. I wrote a small article walking you through how to use one here

Conrad