Improving NetFX 3.5SP1 Application Startup

As most of you probably experienced, NetFX 3.5SP1 offers significant performance improvements over NetFX 3.5.However, we received some reports where NetFX 3.5SP1 installs are seen to be making some select few applications startup slower than they were in NetFX 3.5, whereas for most applications startup performance improves significantly with NetFX 3.5SP1. The possible reason for this anomaly…

3

Using the System.GC APIs to Improve Performance

Chris Lyon here.  You may remember me from such blogs as How I Learned to Stop Worrying and Love the GC.  I’m writing this blog entry to point out some of the System.GC APIs that can be used to help improve the performance of your managed application.   AddMemoryPressure and RemoveMemoryPressure The Garbage Collector (GC)…

4

Track down DLL loading using Visual Studio

Application performance matters — including start up times, working sets and memory consumption. One path leading to more efficient code is loading fewer DLLs. One should only be loading modules that are really needed. However, it is very easy to accidentally load more DLLs at startup than necessary leading to lower performance including longer startup…

1

Adding Custom Actions to NGen an Assembly upon Install

This  document details how to use custom actions to Ngen (generate a native image) upon installation of a project.  Assemblies that are NGen’ed have better startup performance than those that are JIT’ted: http://msdn.microsoft.com/en-us/magazine/cc163610.aspx Step 1: Creating and building your sources I am assuming that you have created a new project, written all your source files,…

0

Investigating Framework Performance on Itanium: Rudimentary Considerations

So let’s begin the Performance conversation! The area I’d like to delve into for this post is the performance of managed code on Itaniums. One of the first tasks I took on when I joined the Framework Performance team( as a  Program Manager) was to continue to improve the performance of managed code on Intel…

1

Welcome to the CLR and Framework Perf Blog!

  This blog will contain interesting tips and tidbits on all things CLR and the .NET Framework Perf related. It will include posts on how to improve performance from an developer perspective, provide how tos and tutorials on a bunch of perf related stuff, provide tips of debugging perf related problems and solicit feedback from our…

0