Re: Optimize php code
| From: | Gerdus van Zyl | Date: | Wed, 13 Apr 2005 12:41:58 +0000 |
| Subject: | Re: Optimize php code | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25836@lists.php.net to get a copy of this message | ||
http://phplens.com/lens/php-book/optimizing-debugging-php.php
I learnt most of what I know of PHP tuning from that, plus read this regularly: http://phplens.com/phpeverywhere/
Try using xDebug or some such tool for profiling.
Most of my big speed improvements have however come from intelligent caching.
GvZ
Martin Hochreiter wrote:
Hi there! I'm not the experienced php user, but I've been using php for a while and I've already written some bigger applications with it. These bigger applications are the 'problem', I know how to optimize database access but I have no idea how to optimize php code ... what makes php slow, what constructions, commands whatever I have to avoid. Can someone please give me a hint? lg martin