954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Zend PHP Slowness

I have been working on a PHP site and it is really slow. It takes over 9 seconds to load and moving servers it is still just as slow. I have taken over programming it from a company who coded it in the Zend Framework using Doctorine and PHPTal. Killing the site after the action function it takes about 3 seconds, but if you let it go through and load the PHPTal template it takes over 9 seconds.

Is there anyway to track which functions it is looking through and possibly benchmark which ones it is hitting and when?

leprakhauns
Newbie Poster
12 posts since Nov 2005
Reputation Points: 10
Solved Threads: 0
 

You can use xdebug to profile the code: http://www.xdebug.org/docs/profiler

mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

I can't seem to install it since it isn't a dedicated server.

leprakhauns
Newbie Poster
12 posts since Nov 2005
Reputation Points: 10
Solved Threads: 0
 

There are other profiling tools but they're all going to require installing some kind of extension in my experience.

mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: