.Net JIT and performance profiling

P

Pawan Singh

Hi,

I am using some performance profiling tools to find out which lines of my
code are taking most time. My applications are standalone .Net executables.
What I noticed is that the application is taking around 20-25% of time in
JIT. Is there a way to pre-JIT for a standalone application so that I do not
have to pay this cost during runtime?

(One strange thing is that I would think JIT %age will go down the longer I
run the application. But it seems to remain the same even if the application
is running for hours. Does that mean that the same sections of code are
JITed again and again?)

Thanks
 
N

Niki Estner

Do you make extensive use of compiled regexes or some other technology that
creates IL code on the fly? Otherwise, I wouldn't really trust that
profiling data...

Niki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top