Enable/Disable multi-core JIT compilation in ASP.NET vNext

Story by Abhilash on ASP.NET



One of the feature implemented as part of performance improvement in ASP.NET vNext is – multi-core JIT compilation. This give a better performance boost specially after a  cold site boot (e.g.. AppPool recycle, etc). This functionality is implemented in System.Runtime.ProfileOptimization.StartProfile method.

Thankfully, this feature is enabled by default. You don’t have to make your hands dirty to enable it. And, if you want to turn-off this feature, then do include the below code in your website’s web.config file.

   1: <system.web> 
   2:     <compilation profileGuidedOptimizations="None"  />
   3: </system.web>


comments powered by Disqus

Related Story   →

HTTP Error 500.21 - Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler"

Huu…!!! As usual, jumped into another error when I tried to uploaded nopCommerce CMS kit and browsed for first time. HTTP Error 500.21 - Internal Server Error Handler