Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > dotnet performance > august 2005 >

dotnet performance : ngen.exe question


chewie
8/16/2005 10:14:04 AM
I'm trying to improve the startup time of a simple winform app using
ngen.exe. I register myappl.exe with the negen tool
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ngen myapp.exe), but I notice
no improvement in startup time. I’m assuming that I can start myapp.exe from
its original location and not from the GAC or some other way. Am I missing
Alvin Bruney [MVP - ASP.NET]
8/16/2005 7:31:34 PM
Nope. That's basically it. If you are doing a lot of initialization on app
startup, you may want to consider optimizing to lazy initialization,
basically do the bare minimum initialization and differ the rest for later
in the program

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc, Amazon, B&H etc


Forth-coming VSTO.NET
-------------------------------------------------------------------------------
[quoted text, click to view]

chewie
8/19/2005 8:35:02 AM
Thanks, I'll give that a try.

[quoted text, click to view]
AddThis Social Bookmark Button