Click here to Skip to main content
16,015,518 members
Home / Discussions / C#
   

C#

 
GeneralRe: Speedup app startup time Pin
James T. Johnson10-Apr-02 14:18
James T. Johnson10-Apr-02 14:18 
GeneralRe: Speedup app startup time Pin
paulb10-Apr-02 19:05
paulb10-Apr-02 19:05 
GeneralRe: Speedup app startup time Pin
James T. Johnson10-Apr-02 19:06
James T. Johnson10-Apr-02 19:06 
GeneralRe: Speedup app startup time Pin
paulb10-Apr-02 19:23
paulb10-Apr-02 19:23 
GeneralRe: Speedup app startup time Pin
Nick Parker11-Apr-02 5:47
protectorNick Parker11-Apr-02 5:47 
GeneralRe: Speedup app startup time Pin
Kannan Kalyanaraman16-Apr-02 0:42
Kannan Kalyanaraman16-Apr-02 0:42 
GeneralRe: Speedup app startup time Pin
Kannan Kalyanaraman16-Apr-02 0:47
Kannan Kalyanaraman16-Apr-02 0:47 
GeneralRe: Speedup app startup time Pin
James T. Johnson16-Apr-02 6:56
James T. Johnson16-Apr-02 6:56 
Yes, thats the correct understanding...

Here's why

Currently there are two JITters with .NET, the runtime JIT and the install-time JIT. The runtime JIT is what you get by default; it works a method at a time. The install-time JIT takes an entire assembly and performs the MSIL -> x86 conversion on it.

The performance improvement you see depends on how your program is structured, if you do a lot of processing on startup (and probably a lot of method calls) then running the install-time JIT will help out because you won't incur the JIT for every method call.

If you don't do a lot of startup processing then there is a good chance you won't see any effect right away if at all.

But (!) there is no guarantee that the framework won't re-JIT your assembly even if you've run ngen on it. If it thinks there is a reason to believe the underlying IL has changed it will reJIT the assembly, but I cannot remember if it reJITs all of it or if it reverts back to runtime JITting.

James

Simplicity Rules!
GeneralRe: Speedup app startup time Pin
Kannan Kalyanaraman16-Apr-02 8:19
Kannan Kalyanaraman16-Apr-02 8:19 
GeneralRe: Speedup app startup time Pin
James T. Johnson16-Apr-02 11:45
James T. Johnson16-Apr-02 11:45 
GeneralGet remote object and respond to an event Pin
wzrd10-Apr-02 9:27
wzrd10-Apr-02 9:27 
GeneralHosting .NET controls in IE ***LOCALLY*** Pin
10-Apr-02 8:29
suss10-Apr-02 8:29 
GeneralConverting C structures to C# equivalents... Pin
10-Apr-02 1:29
suss10-Apr-02 1:29 
GeneralRe: Converting C structures to C# equivalents... Pin
James T. Johnson10-Apr-02 10:28
James T. Johnson10-Apr-02 10:28 
GeneralVisual C# .NET Standard edition - missing features Pin
Mario123459-Apr-02 22:44
Mario123459-Apr-02 22:44 
GeneralRe: Visual C# .NET Standard edition - missing features Pin
ez210-Apr-02 7:19
ez210-Apr-02 7:19 
QuestionAre there any APIs in c# that i can use to parse a email message? Pin
Gentri Wind9-Apr-02 18:38
Gentri Wind9-Apr-02 18:38 
AnswerRe: Are there any APIs in c# that i can use to parse a email message? Pin
James T. Johnson9-Apr-02 19:25
James T. Johnson9-Apr-02 19:25 
GeneralRe: Are there any APIs in c# that i can use to parse a email message? Pin
Paul Watson21-Jun-02 7:05
sitebuilderPaul Watson21-Jun-02 7:05 
QuestionWhy so many class in framework sealed? Pin
9-Apr-02 17:49
suss9-Apr-02 17:49 
AnswerRe: Why so many class in framework sealed? Pin
Gerald Schwab9-Apr-02 17:54
Gerald Schwab9-Apr-02 17:54 
GeneralRe: Why so many class in framework sealed? Pin
9-Apr-02 20:01
suss9-Apr-02 20:01 
AnswerRe: Why so many class in framework sealed? Pin
James T. Johnson9-Apr-02 19:10
James T. Johnson9-Apr-02 19:10 
AnswerRe: Why so many class in framework sealed? Pin
Andy Smith9-Apr-02 20:10
Andy Smith9-Apr-02 20:10 
GeneralRe: Why so many class in framework sealed? Pin
Nick Parker10-Apr-02 6:42
protectorNick Parker10-Apr-02 6:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.