RES: [PHP] PHP performance
| From: | Thiago Pojda | Date: | Wed, 05 Mar 2008 16:37:04 +0000 |
| Subject: | RES: [PHP] PHP performance | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271033@lists.php.net to get a copy of this message | ||
De: Richard Lynch [mailto:ceo@l-i-e.com]
#1
Get the code, install it on a box in the closet, run valgrind
--callgrind
This will give you a stack trace of what gets called the MOST
in your application.
Look for "tall" trees in the call graph, and fix those first.
#2
You can use 'ab' (apache benchmark) or similar to test it externally.
#3
You can also script things with Selenium IDE and then use
Selenium remote control to run them repeatedly, for the
end-user experience.
Don't let server non-access stop you from doing #1 though...
<me>
Sweet!
I'll be trying those tools, Richard. Thanks :)
Installing xdebug is getting rougher than expected as it's a RHEL4AS, php
4.3.4 w/o php-devel and a screwed up gcc :/
I'll let you know what worked for me.
Thiago
</me>