Re: Making it easier to leverage APC
| From: | Robert Cummings | Date: | Sun, 03 Dec 2006 19:49:23 +0000 |
| Subject: | Re: Making it easier to leverage APC | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4391@lists.php.net to get a copy of this message | ||
On Sun, 2006-12-03 at 11:20 -0800, Rasmus Lerdorf wrote:
> Ilia Alshanetsky wrote:
> >
> > On 3-Dec-06, at 12:26 PM, Robert Cummings wrote
> >
> >> Hmmm, this is interesting stuff... I just top loaded 125 class files
> >> consisting of about 200 classes and I shaved about 1/100th of a second
> >> off a the load time of a page that makes heavy use of the framwork's
> >> library. I used PHP 4.4.4 with eaccelerator.
> >
> > It sounds to me like eacellerator definitely missed something in the
> > process, since you should see far more difference then 1/100 of a
> > second on open of 125 files in PHP.
>
> Ilia, you missed the fact that it was actually 40 conditional vs. 125
> non-conditional and the 125 non-conditional were actually faster. So if
> you compared 40 vs. 40 the delta would be much bigger.
Yeah, the 125 top loaded outperformed the 40 conditionally loaded once
the cache was in effect.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'