Re: How to measure performance of .NET applications?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi,
You could use the StopWatch class in "System.Diagnostics" but it has a
pretty big overhead in close loops.... You can build your own by getting the
performancecounters... you can look there for an example :

http://www.codeproject.com/csharp/highperformancetimercshar.asp

I hope it helps

ThunderMusic

"Adam Badura" <abadura@xxxxx> wrote in message
news:%23B16MkczHHA.4928@xxxxxxxxxxxxxxxxxxxxxxx
I want a kind of profiler. I would like to now which function allocated
how much memory (that is easy to check with MS CLRProfiler). But I would
also like to now how much time was spend on executing each function, or
how many times it was called and so on. I couldn't find thouse features in
CLRProfiler.
Can anyone sugest a method or application for that?

Adam Badura



.