 | Setting Performance Counters Microsoft Windows provides a large number of performance counters that can be monitored with tools such as Performance Monitor. It is possible to add new counters and set their values to allow such tools to monitor custom .NET applications and services. |
 | Speed Test: Static vs Instance Methods C# allows the creation of instance members and static members. Instance members are available when an instance of the class is created and have access to the object's data. Static members do not require an object so do they perform better? |
 | Reading Performance Counters Microsoft Windows provides a large number of categorised performance counters that can be used to monitor the utilisation of hardware, services, software applications and drivers. Usually viewed with Performance Monitor, they can also be read using C#. |
 | Speed Test: Try / Catch Block The try/catch block is used to capture thrown exceptions and to allow an application to recover gracefully from the problems that caused them. This article has been created to determine if the try/catch block causes a substantial performance penalty. |
 | Speed Test: Dynamic SQL vs Stored Procedures When developing software that uses Microsoft SQL Sever 2005 for data storage, there are various manners in which to retrieve information. Two options are dynamically-generate SQL statements and stored procedures. Does either give a performance gain? |
 | Speed Test: Switch vs If-Else-If The .NET framework and the C# language provide two methods for conditional processing where multiple discrete values can be selected from. The switch statement is less flexible than the if-else-if ladder but is generally considered to be more efficient. |
 | Speed Testing and the Stopwatch Class Software must operate at a speed that is acceptable to the end user. Often large improvements can be made by improving the speed of short-lived but heavily used routines. The speed of these can be accurately measured using the .NET 2.0 Stopwatch class. |
|
|