Re: Function caching...
| From: | Ulf Wendel | Date: | Sat, 09 Dec 2000 10:17:57 +0000 |
| Subject: | Re: Function caching... | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40640@lists.php.net to get a copy of this message | ||
Ron Chmara wrote:
>
> Ulf Wendel wrote:
> > Jacob Verhoeks wrote:
> > > The performance problem is not with executing but with the loading of the
> > > code. We are currently developing a application server in php. That will be
> > Yes the compile (loading) time is much to long. PHP 4 need ~1 second to
> > compule 8k loc on out developement server (Netra T1). The Zend Encoder
> > and Zend Cache might improve this dramatically.
>
> Roughly one second for only 8K? I'd say something was *horribly wrong* in
> that 8k. If you mean that every page is lugging around 2Mb and 8K, then,
I talked about 8k loc (lines of code). I don't have the source here, but
it's fare more than 8 KB. A new version of that library code has a size
of about 190 KB.
> I would like it if the processes could "preload" functions (say, things like
> metabase, or standard global app libraries) into a closer cache. But thats
> not the same as caching page results.. if the results were that static,
> there's not much point in using PHP to make them, is there? Can't you
> put it in a file, use good disk caching, and call the file from your
> RAM?
http://www.zend.com/zend/products.php#cache
Ulf