Re: Zend Optimizer+ Source Code now available
| From: | Patrick Schaaf | Date: | Thu, 14 Feb 2013 19:08:04 +0000 |
| Subject: | Re: Zend Optimizer+ Source Code now available | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65846@lists.php.net to get a copy of this message | ||
On Thursday 14 February 2013 10:24:22 Stas Malyshev wrote:
>
> For most scripts, optimizations are not really worth it unless you run
> the same code over and over, so for CLI it would be noticeable only if
> you run long-running CPU-intensive server.
Apart from the long-running servers, there is also cronjobs. I have quite a
number of them running on some of my servers, some of them once per minute,
and they all share a certain number of classes between them. I imagine their
startup and execution could profit a bit from an opcode cache.
What keeps an opcode cache from using a persistent memory mapped file, maybe
one per UID for security reasons, to cache opcodes from separate CLI
invocations?
best regards
Patrick