Re: [PHP-DEV] HYBRID VM

2017-05-15 Thread Dmitry Stogov
c: PHP internals list; Nikita Popov; Xinchen Hui; Sara Golemon; Zeev Suraski Subject: Re: [PHP-DEV] HYBRID VM Hi! On Mon, 15 May 2017, Dmitry Stogov wrote: > Recently, I committed HYBRID VM into master, but didn't enable it by > default yet. > > It provides significant performance im

Re: [PHP-DEV] HYBRID VM

2017-05-15 Thread li...@rhsoft.net
Am 15.05.2017 um 16:43 schrieb Dmitry Stogov: Hi, Recently, I committed HYBRID VM into master, but didn't enable it by default yet. It provides significant performance improvement on small benchmarks (1.5 times faster on bench.php) and slight improvement on real-life apps (1-2% on

Re: [PHP-DEV] HYBRID VM

2017-05-15 Thread li...@rhsoft.net
Am 15.05.2017 um 17:30 schrieb Sara Golemon: On Mon, May 15, 2017 at 9:51 AM, li...@rhsoft.net wrote: Am 15.05.2017 um 16:43 schrieb Dmitry Stogov: php zend_vm_gen.php --with-vm-kind=HYBRID shouldn't that be a ./configure option? calls like "php zend_vm_gen.php" are not

Re: [PHP-DEV] HYBRID VM

2017-05-15 Thread Derick Rethans
Hi! On Mon, 15 May 2017, Dmitry Stogov wrote: > Recently, I committed HYBRID VM into master, but didn't enable it by > default yet. > > It provides significant performance improvement on small benchmarks > (1.5 times faster on bench.php) and slight improvement on real-life > apps (1-2% on

Re: [PHP-DEV] HYBRID VM

2017-05-15 Thread Sara Golemon
On Mon, May 15, 2017 at 9:51 AM, li...@rhsoft.net wrote: > Am 15.05.2017 um 16:43 schrieb Dmitry Stogov: >> >> php zend_vm_gen.php --with-vm-kind=HYBRID >> > shouldn't that be a ./configure option? > calls like "php zend_vm_gen.php" are not self contained in a rpmbuild > atm,

Re: [PHP-DEV] HYBRID VM

2017-05-15 Thread li...@rhsoft.net
Am 15.05.2017 um 16:43 schrieb Dmitry Stogov: php zend_vm_gen.php --with-vm-kind=HYBRID make shouldn't that be a ./configure option? calls like "php zend_vm_gen.php" are not self contained in a rpmbuild -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] HYBRID VM

2017-05-15 Thread Dmitry Stogov
Hi, Recently, I committed HYBRID VM into master, but didn't enable it by default yet. It provides significant performance improvement on small benchmarks (1.5 times faster on bench.php) and slight improvement on real-life apps (1-2% on wordpress). Currently it improves PHP only on x86,

Re: [PHP-DEV] HYBRID VM

2017-05-10 Thread André Rømcke
> On 10 May 2017, at 10:53, "li...@rhsoft.net" wrote: > > > Am 10.05.2017 um 08:21 schrieb André Rømcke: >>> On 5 May 2017, at 22:06, Dmitry Stogov wrote: >>> >>> It provides comparabele improvement on smal benchmarks, without degradation >>> on real

Re: [PHP-DEV] HYBRID VM

2017-05-10 Thread li...@rhsoft.net
Am 10.05.2017 um 08:21 schrieb André Rømcke: On 5 May 2017, at 22:06, Dmitry Stogov 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).

Re: [PHP-DEV] HYBRID VM

2017-05-10 Thread André Rømcke
> On 5 May 2017, at 22:06, Dmitry Stogov 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

Re: [PHP-DEV] HYBRID VM

2017-05-05 Thread Dmitry Stogov
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. Thanks. Dmitry. On May 5, 2017

Re: [PHP-DEV] HYBRID VM

2017-05-05 Thread Matt Wilmas
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...?

Re: [PHP-DEV] HYBRID VM

2017-05-03 Thread Sebastian Bergmann
Am 03.05.2017 um 10:08 schrieb Dmitry Stogov: > Please review https://github.com/php/php-src/pull/2507 I was able to successfully run PHPUnit's own test suite using the hybrid VM. PHP 7.2 with Hybrid VM is about 4% faster compared to PHP 7.1 for this. -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] HYBRID VM

2017-05-03 Thread Sebastian Bergmann
Am 03.05.2017 um 10:08 schrieb Dmitry Stogov: > I propose a new VM instruction dispatch technique Can we add information about the VM used to phpinfo() and/or --version output? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] HYBRID VM

2017-05-03 Thread Dmitry Stogov
Hi, I propose a new VM instruction dispatch technique, that provides great speed up on small benchmarks (1.5 times on bench.php) 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