Possible Duplicate:
What Are Some Good .NET Profilers?
Does someone know which tool can I use to see which function in my .Net dll take so long?
Possible Duplicate:
What Are Some Good .NET Profilers?
Does someone know which tool can I use to see which function in my .Net dll take so long?
Red Gates ANTs Profiler may be able to help.
Alternatively you could just use the Stopwatch Class.
If you can use either the Premium or Ultimate versions of Visual Studio, you'll have access to the built-in profiling tool via the "Analyze" main menu. See here for a step by step guide: http://msdn.microsoft.com/en-us/library/ms182372.aspx
Other options are:
I haven't used any of the above tools apart from the Visual Studio Profiler, but they may be worth trying out.
You may also wish to check out this thread, in addition to the one mentioned by Cory Larson: Any decent C# profilers out there?
You could post it here for us to look at, or you might be interested in a .NET profiler. See the answers in this following SO post for ideas:
The ANTS profiler is fantastic for this sort of thing: http://www.red-gate.com/products/ants_performance_profiler/index.htm
We're using Dottrace profiler http://www.jetbrains.com/profiler/ It's sufficient for most of purposes. Actually you could use Ants, but my personal preference is for Dottrace