Re: Classes and performance bottlenecks
| From: | Christian Reiniger | Date: | Tue, 14 Aug 2001 12:23:14 +0000 |
| Subject: | Re: Classes and performance bottlenecks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62623@lists.php.net to get a copy of this message | ||
On Tuesday 14 August 2001 08:37, Maxim Maletsky wrote:
> See, there's also a time needed for the server to read the included
> file - an extra effort for your hard disk.
> If you'd put everything in one file it would work for you faster, but,
> of course, less portable.
I disagree. Aftre the first access the data will be in the filesystem
cache, so the reading is only a series of memcpy() (or perhaps even less).
Parsing time should be the problem. Look into Zend Cache and APC cache
(apc.communityconnect.com|org)
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?