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?