Click here to Skip to main content
Licence CPOL
First Posted 26 Jul 2006
Views 53,464
Downloads 1,268
Bookmarked 49 times

Application dashboard for tracking .NET application performance

By | 26 Jul 2006 | Article
Provides graphical feedback on the performance (memory usage, garbage collection, threads, exceptions, loaded classes) of a .NET application.

Sample Image - MemoryDashboard.jpg

Introduction

When a .NET application is running, it registers and updates a large number of performance counters which you can use to monitor the way your application is running - for example, how many threads is it using, what its memory usage is, how long it spends doing garbage collection, and so on.

You can read these properties using the .NET Framework built-in PerformaceCounter class. The attached code does just that and presents the results in a graphical format which you can have open and watching as you test your application - this can show up performance issues before the users get to see the problems.

How to use

To use the application, start your test application running, then fire up the application dashboard. Then select the menu File .. Settings and select your application from the drop down list of running .NET applications. You can also adjust the maximum and minimum values of each gauge so that it better matches your application.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Duncan Edwards Jones

Software Developer (Senior)
JP Morgan
Ireland Ireland

Member

Follow on Twitter Follow on Twitter
C# / SQL Server developer
Microsoft MVP 2006, 2007
Visual Basic .NET

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalsample Pinmemberparasuram-gpr20:44 20 Feb '09  
GeneralRe: sample PinmemberDuncan Edwards Jones6:40 8 Jul '09  
QuestionHow to use chart fx gauges PinmemberirafN7868:03 3 Aug '08  
AnswerRe: How to use chart fx gauges PinmemberDuncan Edwards Jones8:49 3 Aug '08  
GeneralRe: How to use chart fx gauges PinmemberirafN78623:16 3 Aug '08  
GeneralGood Idea PinmemberNice Life4:44 12 Oct '06  
GeneralRe: Good Idea PinmemberDuncan Edwards Jones2:52 13 Oct '06  
GeneralSome comments.... PinmemberJuergen Posny21:56 27 Jul '06  
GeneralRe: Some comments.... [modified] PinmemberDuncan Edwards Jones22:03 27 Jul '06  
QuestionToo many exceptions !!! [modified] PinmemberNigel Savidge3:06 27 Jul '06  
AnswerRe: Too many exceptions !!! PinmemberDuncan Edwards Jones3:46 27 Jul '06  
GeneralException on Application Close Pinmemberdgauerke3:05 27 Jul '06  
GeneralRe: Exception on Application Close PinmemberDuncan Edwards Jones3:50 27 Jul '06  
GeneralRe: Exception on Application Close PinmemberDuncan Edwards Jones1:41 28 Jul '06  
Fixed code uploaded (2006-07-28)
 
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120529.1 | Last Updated 27 Jul 2006
Article Copyright 2006 by Duncan Edwards Jones
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid