Re: Benchmarking 4.3.2 vs 4.1.2
| From: | Andi Gutmans | Date: | Thu, 12 Jun 2003 04:08:26 +0000 |
| Subject: | Re: Benchmarking 4.3.2 vs 4.1.2 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2295@lists.php.net to get a copy of this message | ||
At 12:14 AM 6/12/2003 +0000, Thomas Seifert wrote:
On Wed, 11 Jun 2003 07:49:24 +0300 andi@zend.com (Andi Gutmans) wrote: It's really quite simple. Make a hash that holds a structure which has the realpath() and time of entry in it. If it's still relevant use it. If you want to limit the hash to X entries (no need IMO) the easy way is to just limit it to something which makes sense like first 500 pages (which will most probably be the most accessed ones anyway). Need to go now. Just curious from a user's perspective, it will be per-child only, right? So there will still be much overhead if each child (sorry, talking about apache-childs with mod_php here ;-)), has to fill its cache with that data. Sure it'll help, but how much?Nah. If we keep it to like 5-20k you will never notice it. Andi