title: PDO extremely slow on localserver
body: <p>So basically I've got an issue with PDO. For about a couple of days now I've been working on a MVC so far so good. When I initialize PDO it takes about 1000ms to 1300ms for the webpage to load. Also I know that switching from localhost to 127.0.0.1 makes it faster. However in this case it doesn't seem to work. </p>
  
  <pre><code>$this-&gt;db = new PDO("mysql:host=127.0.0.1;dbname=testDB","root","");
  </code></pre>
  
  <p>I've also tried using </p>
  
  <pre><code>$this-&gt;db = new PDO("mysql:host=127.0.0.1;dbname=testDB","root","",array(
  PDO::ATTR_PERSISTENT =&gt; true));
  </code></pre>
  
  <p>But unfortunately none have worked for me. If anyone has any tips it would be much appreciated.</p>