title: Why is res.render in Angular Universal taking so long?
body: <p>I am building a Angular Universal App and all i have now is the Structure of the site. I did everything like in the tutorial concerning transforming my app for Angular Universal.</p>
  
  <pre class="lang-js prettyprint-override"><code>console.log("got Request " + new Date());
  res.render(join(DIST_FOLDER, 'browser', 'index.html'), { req , time: true}, 
     function(err, html) {
        console.log("finished Rendering " + new Date());
        res.send(html);
     }   
  );
  </code></pre>
  
  <p>The Rendering takes up 3 and a half seconds.. This seems like a huge amount of time to me. Also in the DeveloperTools in Chrome TTFB is 3,5 seconds.
  And the app doesnt do anything yet except routing. I dont want  my future app to be so slow.</p>
  
  <p>Anyone has a clue if this is normal or there is something to improve ?
  Github repo with Problem  <a href="https://github.com/Joniras/slow-universal-rendering-example" rel="nofollow noreferrer">https://github.com/Joniras/slow-universal-rendering-example</a></p>
  
  <p><strong>Setting up Workspace and running angular-universal:</strong>   </p>
  
  <pre><code>npm install   
  npm run build:universal   
  npm run serve:universal     
  </code></pre>
  
  <blockquote>
    <p><strong>Versions:</strong><br>
    <code>Angular CLI: 1.5.0</code><br>
    <code>Node: 6.11.5</code>
    <code>OS: win32 x64</code>
    <code>Angular: 5.0.1</code>
    <code>... animations, common, compiler, compiler-cli, core, forms</code>
    <code>... http, language-service, platform-browser</code>
    <code>... platform-browser-dynamic, platform-server, router</code>
    <code>@angular/cdk: 5.0.0-rc0</code>
    <code>@angular/cli: 1.5.0</code>
    <code>@angular/flex-layout: 2.0.0-beta.10-4905443</code>
    <code>@angular/material: 5.0.0-rc0</code>
    <code>@angular-devkit/build-optimizer: 0.0.33</code>
    <code>@angular-devkit/core: 0.0.20</code>
    <code>@angular-devkit/schematics: 0.0.35</code>
    <code>@ngtools/json-schema: 1.1.0</code>
    <code>@ngtools/webpack: 1.8.0</code>
    <code>@schematics/angular: 0.1.3</code>
    <code>typescript: 2.4.2</code>
    <code>webpack: 3.8.1</code>
    <code>express 4.16.2</code><br>
    <strong>i had to style as code because otherwise i couldnt post</strong></p>
  </blockquote>