title: Html.RenderPartial slow
body: <p>Our web app contains tens of partial views, some of them are childs of others. We noticed app comes slow on the first load, it takes 0.5 to 1 second to initialize each view it calls for the first time. I traced timing and discovered that this:  </p>
  
  <pre><code>Html.RenderPartial("~/Full/Relative/Path/To/View.cshtml", null);  
  </code></pre>
  
  <p>can take about 1 second even if the view is absolutely empty. In the same time this:</p>
  
  <pre><code>var view = ViewEngines.Engines.FindPartialView(
  ViewContext.Controller.ControllerContext, "~/Full/Relative/Path/To/View.cshtml");
  </code></pre>
  
  <p>takes 1 millisecond, so no time is spent for finding file.<br>
  Questions:<br>
  1. Is that normal for the view compiler to take so long?<br>
  2. Is there other way to make the first call fast but not having the view precompiled with the directive in the csproj?</p>
  
  <p>ps: the weird thing is that the same views loaded faster in the beginning of the app development.</p>