.NET news » Performance Performance Rss Feed

download
Observable property pattern, memory leaks, and weak delegates for .NET
This article is dedicated to the observable property design pattern, a very nice pattern used in the Microsoft .NET Framework, a possible memory leak problem with it, and gives a couple of ways to solve it.
13 Nov 2006, 12:11:00   Source: Observable property pattern, memory leaks, and weak...   Tags: C# Performance
Optimizing Serialization in .NET - part 2
Provides code and techniques to enable developers to optimize serialization of DataSets/DataTables.
23 Oct 2006, 13:58:00   Source: Optimizing Serialization in .NET - part 2   Tags: Database Performance
CLR Inside Out: Investigating Memory Issues
Uncovering and correcting memory issues in managed applications can be difficult. Memory issues manifest themselves in different ways. For example, you may observe your application's memory usage growing unboundedly, eventually resulting in an Out Of Memory (OOM) exception. (Your application may even throw out-of-memory exceptions when there is plenty of physical memory available.) But any one of the following may indicate a possible memory issue:
  • An OutOfMemoryException is thrown.
  • The process is using too much memory for no obvious reason that you can determine.
  • It appears that garbage collection is not cleaning up objects fast enough.
  • The managed heap is overly fragmented.
  • The application is excessively using the CPU.
This column discusses the investigation process and shows you how to collect the data you need to determine what types of memory issues you are dealing with in your applications. This column does not cover how to actually fix problems you find, but it does give some good insights as to where to start.
11 Oct 2006, 19:00:00   Source: CLR Inside Out: Investigating Memory Issues   Tags: Performance
How to Append to a Large XML File
Appending to an XML file can be tricky with large files in terms of speed and memory usage. This article covers the options available in .NET.
11 Oct 2006, 11:19:00   Source: How to Append to a Large XML File   Tags: XML Performance
A fast equivalent for System.Random
A simple and fast random number generator that can be substituted in place of System.Random, with extra methods and fast re-initialization.
10 Oct 2006, 12:12:00   Source: A fast equivalent for System.Random   Tags: Performance
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.