John R. Durant's WebLog

Blog of "The" Office Developer

NGen and .NET 2.0 Performance Improvements

I remember back in 2000 I was messing with .NET (actually, I was architecting real systems (for gutsy customers) with the beta, but we'll call it 'messing'). In that time-frame, the focus was clearly on JIT compiling the code, and NGen (which has been around since 1.0) was not really spoken about very much.

I was pleasantly surprised to find that NGen has been greatly enhanced in .NET 2.0. Kit George, CLR PM, spoke about this a little at Tech Ed 2004, and there is a fine article coming up in MSDN Magazine for April. It has been already published on the web, and you can find it here:

NGen Revs Up Your Performance with Powerful New Features by Reid Wilkes. It's a pretty well written piece and it has solid information for people new to NGen and plenty for those of us who have always cared.

Highlights of improvements include:

  • It's invoked on an entire app, not just on an assembly. This allows for dependency enhancements.
  • NGen has a tracking and updating mechanism so that a shared component is later updated, NGen can keep apps informed of the changes.
  • Deferred commands so that the generation of large images can be done by the NGen Windows service.
  • Native images can be shared across application domains in a process (this is huge!)
  • Generics support in NGen

OK- NGen is not that sexy and cool, but if you care about app performance alot (and you should), it's very alluring. Congrats on a nice article, Reid.

 Rock Thought for the day: Once again heard "Hunger Strike" from project band Temple of the Dog in 1990. It's a favorite on the alternative station here in Seattle. It's a decent song, but what is more interesting is how many people trace a path through this song. You have Jeff Ament, Chris Cornell, Stone Gossard, Eddie Vedder, and Andrew Wood (inspiration for the tune). If these names do not mean much to you...it's time to do some reading up on the history of rock an roll over the past 16 years. Also, Rage Against the Machine was easily one of the most important bands within that time frame. Amazing sounds. Audioslave keeps the heavy, killer riffs coming. Heavier than Heaven.

Rock On (Vote for Pedro)

Published Wednesday, March 02, 2005 11:26 AM by johnrdurant

Comments

 

Julie said:

Rock Thought For The Day!!! Hooray you've finally mentioned one of my favorite bands... Hunger Strike is just okay... All Night Thing is best.

BTW, you should stop by and say hello before devlab is done tomorrow.
March 2, 2005 1:56 PM
 

John R. Durant said:

Cool! Yeah, I will try to stop by before it shuts down. I am simply over-swamped with stuff. I want to geek out in a bad way, but I end up with a lot of other busy-work tasks that prevent me from getting out much. It will be great to see you.

Are you going to Tech Ed?
March 2, 2005 4:01 PM
 

M.Jeon said:

Why don't you guys just drop the charade and make out already? The subtle flirting thing is so old.

... and Vote for Summer!
March 2, 2005 5:17 PM
 

John R. Durant said:

Hey- Hey- Hey
Where is your thinking, man? The Office developer community is platonic! Besides, I am very happily married with 4 boys (my fifth boy arrives in 7 weeks).

Julie is cool and is an important part of our dev community along with other lumninaries like Chris Kunicki, Jan Fransen, Charles Maxson, and many others. Heck- just go to http://www.officezealot.com and see the list. You can join the growing herd. But, be warned: this is no dating service!

And, I'm still voting for Pedro.
March 3, 2005 8:14 AM
 

Julie said:

FIFTH!!! Congratulations.. my two just turned 7 and 4.

Nope, likely not TechEd for me this year for a variety of reasons (though I'd really like to).
March 3, 2005 9:34 AM
 

Dating said:

I remember back in 2000 I was messing with .NET (actually, I was architecting real systems (for gutsy customers) with the beta, but we'll call it 'messing'). In that time-frame, the focus was clearly on JIT compiling the code, and NGen (which has bee

May 30, 2008 8:38 PM
 

Weddings said:

I remember back in 2000 I was messing with .NET (actually, I was architecting real systems (for gutsy customers) with the beta, but we'll call it 'messing'). In that time-frame, the focus was clearly on JIT compiling the code, and NGen (which has bee

June 5, 2008 10:49 PM
 

John R Durant s WebLog NGen and NET 2 0 Performance Improvements | Hair Growth Products said:

June 13, 2009 8:29 AM
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker