.NET news » Performance Performance Rss Feed

download

Speed Optimization with page and server controls, web application settings and coding practices

ASP.NET Applications speed optimizations regarding to use of page and server controls, web application settings and best coding practices

Creating a Custom .Net Profiler

Describes how to create your own custom profiler for any managed application
30 Aug 2006, 12:07:00   Source: Creating a Custom .Net Profiler   Tags: Performance Testing

AltSerializer - An Alternate Binary Serializer

The AltSerializer is a replacement for the binary serializer built in to .NET.
28 Aug 2006, 11:34:00   Source: AltSerializer - An Alternate Binary Serializer   Tags: Performance Components

FastPixel - A much faster alternative to Bitmap.SetPixel

Ever wanted something faster than SetPixel? Well you've found it.

Not Used Analysis - A IL code analysis tool for looking for types, methods, and fields that are not used

This tool analyses the IL of a list of assemblies, looking for types, methods, and fields that are not used by another list of assemblies. This lets you see if you have unused legacy code lying around that should be cleaned up.

ASP.NET 2.0 Performance Tuning Considerations

ASP.NET 2.0 has a lot of performance enhancements. In addition this article discusses on certain techniques which can improve the performance of applications.
4 Aug 2006, 06:14:36   Source: ASP.NET 2.0 Performance Tuning Considerations   Tags: ASP.NET Performance

Performance Console (PerfConsole)

The PerfConsole allows developers to analyze Visual Studio Performance Profiler's reports. It is a simple performance investigation tool which tries to adopt a debugger like experience to drilling into Visual Studio Performance Profiler generated data.
3 Aug 2006, 15:03:00   Source: Performance Console (PerfConsole)   Tags: Performance Software

StringBuilder vs. String / Fast String Operations with .NET 2.0

Comparision of String/StringBuilder functions. Efficient String handling.
25 Jul 2006, 18:31:00   Source: StringBuilder vs. String / Fast String Operations with...   Tags: Performance

EasyPack - A Pushbutton Batch JavaScript Error Checking, Compression and Obsfucation Tool

EasyPack enables syntax checking, validation, compression and obsfucation of JavaScript files with a single click

System.Diagnostics.Stopwatch - always remember to use Reset

Wrong
        System.Diagnostics.Stopwatch s = new System.Diagnostics.Stopwatch();

        s.Start();
        for (i = 0; i < count; i++) Test1();
        s.Stop();
        Console.WriteLine("Test1: {0}", s.ElapsedMilliseconds);

        s.Start();
        for (i = 0; i < count; i++) Test2();
        s.Stop();

        Console.WriteLine("Test2: {0}", s.ElapsedMilliseconds);
Right
        System.Diagnostics.Stopwatch s = new System.Diagnostics.Stopwatch();

        s.Start();
        for (i = 0; i < count; i++) Test1();
        s.Stop();
        Console.WriteLine("Test1: {0}", s.ElapsedMilliseconds);

        s.Reset();

        s.Start();
        for (i = 0; i < count; i++) Test2();
        s.Stop();

        Console.WriteLine("Test2: {0}", s.ElapsedMilliseconds);
Not that *cough* I would ever make this mistake or anything, but you know... it could happen to like, a friend, or something. Ya. My friend. :)