Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / July 2007

Tip: Looking for answers? Try searching our database.

How to measure performance of .NET applications?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adam Badura - 24 Jul 2007 09:03 GMT
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
ThunderMusic - 24 Jul 2007 15:18 GMT
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

>    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
[quoted text clipped - 4 lines]
>
>    Adam Badura
Alvin Bruney [MVP] - 25 Jul 2007 01:43 GMT
how about enabling tracing?

Signature

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

> hi,
> You could use the StopWatch class in "System.Diagnostics" but it has a
[quoted text clipped - 15 lines]
>>
>>    Adam Badura
Adam Benson - 27 Jul 2007 15:24 GMT
The ANTS profiler's pretty good :
http://www.red-gate.com/products/ants_profiler/index.htm

HTH,

Adam.
==========

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.