Accelerated Ideas - Blog Forum Index Accelerated Ideas - Blog Forum Index
Accelerated Ideas Free .Net Components (Home)
Accelerated Ideas - Blog
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 How to use the native image generator for performance gain? « View previous topic :: View next topic » 
Author Message
AINETAdmin
PostPosted: Tue Jan 23, 2007 6:44 pm    Post subject: How to use the native image generator for performance gain? Reply with quote

Site Admin

Joined: 28 Dec 2006
Posts: 127

The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications. Ngen.exe creates native images, which are files containing compiled processor-specific machine code, and installs them into the native image cache on the local computer. The runtime can use native images from the cache instead using the just-in-time (JIT) compiler to compile the original assembly

Examples

The following command generates a native image for component.dll, located in the current directory:

Code:
ngen install component.dll


Uninstalling Images

Ngen.exe maintains a list of dependencies, so that shared components are removed only when all assemblies that depend on them have been removed. In addition, a shared component is not removed if it has been installed as a root.

The following command uninstalls all scenarios for the root component.dll

Code:
ngen uninstall component
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

Jump to:  



You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum





-- Accelerated Ideas --
Absolute Adsense
Microsoft Practice Exams
Delphi Tutorials
Free .net Components
Freeware & Shareware Downloads


DAJ Glass (1.0.8) template by Dustin Baccetti
EQ graphic based off of a design from www.freeclipart.nu
Powered by phpBB © 2001, 2005 phpBB Group