Re: HYBRID VM
| From: | André Rømcke | Date: | Wed, 10 May 2017 06:21:21 +0000 |
| Subject: | Re: HYBRID VM | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98994@lists.php.net to get a copy of this message | ||
> On 5 May 2017, at 22:06, Dmitry Stogov <dmitry@zend.com> wrote:
>
> It provides comparabele improvement on smal benchmarks, without degradation on real apps.
> It can be compiled in reasonale time (GOTO requres significant time anda lot of memory).
> Finally HYBRID fallbak to CALL if compiler doesn't provide necessary extensions.
While at it how does this compare to jit branch?
>
> Thanks. Dmitry.
>
> On May 5, 2017 10:26 PM, Matt Wilmas <php_lists@realplain.com> wrote:
> Hi Dmitry,
>
> ----- Original Message -----
> From: "Dmitry Stogov"
> Sent: Wednesday, May 03, 2017
>
>> Hi,
>>
>>
>> I propose a new VM instruction dispatch technique, that provides great
>> speed up on small benchmarks (1.5 times on bench.php)
>
> Interesting. :-) How does this compare to pure GOTO dispatch...?
>
>> Please review https://github.com/php/php-src/pull/2507
>>
>> Take into account, that HYBRID VM is not enabled by default and VM has to
>> be regenerated by "php zend_vm_gen.php --with-vm-kind=HYBRID"
>>
>>
>> It doesn't work with phpdbg, out of the box, and may make some troubles to
>> xdebug and other system extensions.
>>
>>
>> I'm going to commit this into master after review and then rise question
>> about enabling it by default in PHP-7.2.
>>
>>
>> Thanks. Dmitry.
>
> - Matt
>
>