E
Earl Teigrob
The first time any of my web apps are hit, they take a long time (45
seconds) for the JIT compiler to compile them. After being hit the first
time, they are very fast. My boss is starting to think that .NET is crap
because every time he goes to hit the Intranet, it takes so long to compile
the code. I am running the apps on a windows 2003 server, which appears to
dump cached code very promptly after 20 minutes of inactivity (when all the
user sessions time out). For some reason, it seems like Windows 2000 holds
on the cache for a much longer period of time then Windows 2003???(Based on
practical experience, not any conclusive tests) Please do not blame the code
on this...I have experimented and read enough to know better.(Note: We
should be writing code to run fast, NOT COMPILE FAST, Hello!!!) I need a
way to tell the server to hold on to the code cache until there is a change
in the code or, of course, IIS or the server is restarted... And, if this is
not possible, I would hope that Microsoft makes addressing this issue a
priority.
Thanks for your help
Earl
seconds) for the JIT compiler to compile them. After being hit the first
time, they are very fast. My boss is starting to think that .NET is crap
because every time he goes to hit the Intranet, it takes so long to compile
the code. I am running the apps on a windows 2003 server, which appears to
dump cached code very promptly after 20 minutes of inactivity (when all the
user sessions time out). For some reason, it seems like Windows 2000 holds
on the cache for a much longer period of time then Windows 2003???(Based on
practical experience, not any conclusive tests) Please do not blame the code
on this...I have experimented and read enough to know better.(Note: We
should be writing code to run fast, NOT COMPILE FAST, Hello!!!) I need a
way to tell the server to hold on to the code cache until there is a change
in the code or, of course, IIS or the server is restarted... And, if this is
not possible, I would hope that Microsoft makes addressing this issue a
priority.
Thanks for your help
Earl