Re: Code Speed & Optimization
| From: | Richard Lynch | Date: | Sat, 22 Sep 2001 02:12:30 +0000 |
| Subject: | Re: Code Speed & Optimization | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68247@lists.php.net to get a copy of this message | ||
The *FIRST* thing you need to determine is *WHY* and *WHERE* your pages are
being slowed down.
90% of your problem is in 10% of your system.
It *MIGHT* be your database connections.
It *MIGHT* be your hard drive thrashing.
It *MIGHT* be your bandwidth isn't up to snuff.
It *MIGHT* be your RAM over-loaded.
Until you know what's the bottle-neck, you aren't optimizing -- You're
wasting time.
The time you spend figuring out what to fix will more than make up for the
time saved from installing stuff that won't help and will only confuse the
issue.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Alex Ranaldi <siliconwaffle@mail.isc.rit.edu>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Monday, September 17, 2001 11:32 AM
Subject: Code Speed & Optimization
> Hello Everyone,
>
> My PHP-based website is beginning to get a bit slow. I'm wondering if
> anyone knows of any specific code optimizations that can be done to
> improve the general performance. I'm not running Zend Optimizer right
> now but I have plans to install it soon, hopefully it'll help. If
> anyone has any suggestions or knows of anything that can help, please
> let me know.
>
> Thanks,
> Alex
>