I am using XAMPP running php 5.3 and mysql version 5.5.27 to develop with on my local machine.
For a long time I have noticed that page load times where hitting the 2-3 second mark but asumed that as I was using a remote MySQL database to connect to it was the latency of that connection adding to the load time.
I have recently begun using the local mysql service running on my machine and the page load time is still constantly above 1 second.
I have used xDebug profiler along with WinCacheGrind to discover that the line return new PDO($dsn, $username, $password, $options);
in Laravel4's Illuminate\Database\Connectors\Connector
file is taking an average of 1,005ms to execute.
My question is this: Given the above, I assume this is PDO causing the issue; why and how do I go about fixing it?
Thank you.