Exceptions are for Exceptions

4 Comments »

Most programmers know that throwing exceptions takes a relatively long time to execute versus normal processing.  Some say throwing exceptions is as much as two orders of magnitude slower than passing arguments (that’s 100 times slower for non-geeks).  However, another article claims there’s almost no impact to throwing exceptions, unless you are running your software in a debugger.

Story at DevTopics >>

NP .NET Profiler

5 Comments »

NP .NET Profiler Tool is designed to assist in troubleshooting issues such as slow performance, memory related issues, and first chance exceptions in any .NET process.  The tool has the following features:

  • XCopy deployable: no install or reboot required
  • Supports all types of .NET applications
  • Generates true callstacks for exceptions, memory allocations, and function calls
  • Can monitor a specific namespace to reduce overhead and generate a smaller output file
  • Memory profiler reports total number of objects allocated per function
  • Custom reports using SQL-like queries
  • Wizard-based UI
  • Supports all versions of .NET (1.0 , 1.1, 2.0 and 3.5)
  • Supports all platforms (x86, x64 and IA64)
  • Supports all OSes (Windows XP, Windows 2003, Windows 2008 and Vista)
  • Support virtual machines

Download NP .NET Profiler

See more .NET news!

C# Switch Case Order Doesn’t Matter

3 Comments »

The order of C# switch case statements in your code has no effect on performance.

Read the rest of this entry »