Performance Leaks

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Performance Leaks

Post by thiscatis »

Is there some kind of tool to test php scripts for performance leaks?
I'm having trouble with a script that exceeds the 30sec, had a look at the queries and they seemed fine, also the connection with the mysql server is pretty persistent..
User avatar
stereofrog
Forum Contributor
Posts: 386
Joined: Mon Dec 04, 2006 6:10 am

Post by stereofrog »

Yes, use a profiler that comes with your IDE or xdebug (http://xdebug.org/docs-profiling.php).
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Post by dibyendrah »

I have never used any profiling system. It will surely be useful for any PHP developer.
Post Reply