title: In C#, on startup, is there a way to force the JIT compiler to touch all MSIL code in the entire app?
body: <p>We have a C# program that performs some timing measurements. Unfortunately, the first time it measures is 20x slower than the second and subsequent times, probably due to JIT (Just-In-Time) compiling.</p>
  
  <p>Is there a way to ensure, on startup, that every line of MSIL code in the entire application is compiled with the JIT compiler?</p>