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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to