|
|
|
start date: Tue, 24 Jul 2007 10:03:10 +0200,
posted on: microsoft.public.dotnet.framework.performance
back
| Thread Index |
|
1
Adam Badura
|
|
2
ThunderMusic
|
|
3
Alvin Bruney [MVP] some guy without an email address
|
|
4
Adam Benson
|
How to measure performance of .NET applications?
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
Date:Tue, 24 Jul 2007 10:03:10 +0200
Author:
|
Re: How to measure performance of .NET applications?
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" wrote in message
news:%23B16MkczHHA.4928@TK2MSFTNGP03.phx.gbl...
> 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
>
Date:Tue, 24 Jul 2007 10:18:26 -0400
Author:
|
Re: How to measure performance of .NET applications?
how about enabling tracing?
--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"ThunderMusic" wrote in message
news:ezn%23v2fzHHA.2484@TK2MSFTNGP06.phx.gbl...
> 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" wrote in message
> news:%23B16MkczHHA.4928@TK2MSFTNGP03.phx.gbl...
>> 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
>>
>
>
Date:Tue, 24 Jul 2007 20:43:06 -0400
Author:
|
Re: How to measure performance of .NET applications?
The ANTS profiler's pretty good :
http://www.red-gate.com/products/ants_profiler/index.htm
HTH,
Adam.
==========
Date:Fri, 27 Jul 2007 15:24:05 +0100
Author:
|
|
|