It is taking .6-.8 seconds for this line of my code to execute in my users table model:
$row = $this->fetchRow("username = '$username'");
I’m caching my table metadata for all tables already.
Any idea what could be causing this slowness?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a ton of different things that are most likely adding up to the slow execution time (everything from excessive modules in apache / php to file IO issues causing the database to slow down). Have you considered using a tool such as http://www.xdebug.org/ to profile your code? This should let you break it down into different sections and see exactly what is taking the most time.
Zend also provides a performance guide for the framework http://framework.zend.com/manual/en/performance.html