title: Setting up a C# application for max performance build
body: <p>So we are pretty happy with our program. It's fast and stable in Debug mode and so far that's the version live with customers. We now desire that free boost we get from a release build.</p>
  
  <p>I have now compiled the project for Release with Code Optimization : On.
  I have TRACE constant : Off.
  Advanced -> output -> debug info -> None.</p>
  
  <p>Besides efficient coding pracsises and system architecture etc, what are the optimal Visual Studio settings for adjusting the C# application for max performance?</p>
  
  <p>As far as I know the JITter optimizes the IL compilation by default in Release builds. The Code Optimization (: On) concerns the compiler and how it deals with inlining etc.</p>
  
  <p>Is that it or is there more? Is turning the TRACE constant off a mistake? (our application mails us with the stack tree if something serious should go wrong, I'm not sure if TRACE is related here)</p>