Re: Support for writing and executing compiled opcodeStephen Coakley <me@stephencoakley.com>
| From: | Jefferson Gonzalez | Date: | Mon, 16 Nov 2015 21:11:04 +0000 |
| Subject: | Re: Support for writing and executing compiled opcodeStephen Coakley <me@stephencoakley.com> | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89244@lists.php.net to get a copy of this message | ||
On 11/16/2015 04:22 PM, Rasmus Lerdorf wrote:
But that is exactly what the file-based opcache does by itself. The only speedup you achieve by trying to distribute the .bin files would be a minor boost the first time a cli script is executed. All subsequent runs of the script would hit the cache. The added complexity and potential version conflicts of trying to distribute the .bin files doesn't seem like it would be worth the trouble for such a minor one-time performance benefit. -RasmusBut as far as I know thats only possible with php-cli and not with php-cgi, is it?