.NET news » Performance 
Maximizing .NET Performance (Expert's Voice)
Author: Nick Wienholt
Average rating: (7 reviews)
More .NET Performance books
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
25 Jul 2006, 09:04:00 Source: EasyPack - A Pushbutton Batch JavaScript Error Checking,...
Tags: Ajax
Performance
Software
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. :)
18 Jul 2006, 14:18:00 Source: System.Diagnostics.Stopwatch - always remember to use Reset
Tags: Performance
patterns & practices Guidance Explorer
What are the security and performance proven practices for .NET applications? You can use Guidance Explorer to find out. Guidance Explorer is a tool to help you find and use relevant patterns & practices guidance.
14 Jul 2006, 16:36:55 Source: patterns & practices Guidance Explorer
Tags: Software
Security
Performance
HTTP Compression - Quick and Dirty Solution
Use HTTP Compression on ASP.NET 2.0 pages
ViewState Compression
How to compress the ViewState of ASP.NET pages and save bandwidth
A General Fast Method Invoker
Method reflecting invoke is nice, but frequently do it can be too slow. This article describes an alternative method for dynamic method invoke.
Advanced Basics: Monitor Your Apps with System.Diagnostics
The System.Diagnostics namespace provides classes for interacting with event logs, performance counters, and system processes, and can really help when you've got bugs. Find out how.
26 Jun 2006, 13:50:48 Source: Advanced Basics: Monitor Your Apps with System.Diagnostics
Tags: Performance
Debug
Fast Dynamic Property Accessors
Fast run-time access to Property Values using the new (.Net 2.0) DynamicMethod class and a very small amount of Emitted IL code.
A Fast Serialization Technique
Transparently boosting serialization performance and shrinking the serialized object's size.

