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?

Recommended Answers

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

Jump to Post

All 3 Replies

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.