If you have ever done a clean install for Sitecore, you know the startup time for your environment (and every subsequent code deploy) is slow.
There is fortunately a way to boost the speed that is to install the Roslyn compiler NuGet package.
This post will take you through how to set that up on your environment.
First open up your Sitecore Project in Visual Studio.
Go to the Project you wish to add the NuGet package and right click the project and click 'Manage NuGet Packages'.
Make sure your 'Package Source' is set to nuget.org and go to the 'Browse' Tab and search Microsoft.CodeDom.Providers.DotNetCompilerPlatform. Install whichever version you desire, make sure you note which version you installed.
After installation, deploy your project, make sure the new DLLs make it into your Sitecore bin folder.
Once that is done, open your Sitecore's Web.config and add the following to the bottom of your webconfig.
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warninglevel="4" compileroptions="/langversion:6 /nowarn:1659;1699;1701"></compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warninglevel="4" compileroptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"></compiler>
</compilers>
</system.codedom>
After that you're done, your Sitecore should be significantly faster now.