Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-03 Thread S.A.N
> 7.1.5 PGO: Requests per second: 886.63 > 7.2.0 JIT PGO: Requests per second: 925.96 > > OK, than it are "only" 5% on a highly optimized codebase Try PHP script as daemon mode, will speed up 2x -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-03 Thread li...@rhsoft.net
Am 03.05.2017 um 13:20 schrieb Eli: Would you mind running some numbers against "commodity apps/frameworks" (e.g. Wordpress, ZendFramework, Laravel, etc...) I expect that will be far more telling (in a potentially positive way). For example, HHVM performs best on "highly optimized code", which

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-03 Thread Eli
>> Would you mind running some numbers against "commodity >> apps/frameworks" (e.g. Wordpress, ZendFramework, Laravel, etc...) I >> expect that will be far more telling (in a potentially positive way). >> For example, HHVM performs best on "highly optimized code", which is >> why it tends to look

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
Am 03.05.2017 um 05:37 schrieb Sara Golemon: On Tue, May 2, 2017 at 10:19 PM, li...@rhsoft.net wrote: 100% internal codebase without 3rd party libraries developed over the last 15 years and in the meantime 100% strict-types/typehints/return-types only missing some commented nullable/void retu

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread Sara Golemon
On Tue, May 2, 2017 at 10:19 PM, li...@rhsoft.net wrote: > 100% internal codebase without 3rd party libraries developed over the last > 15 years and in the meantime 100% strict-types/typehints/return-types only > missing some commented nullable/void return types because i need to wait > with 7.1.x

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
Am 03.05.2017 um 02:37 schrieb Sara Golemon: On Tue, May 2, 2017 at 2:51 PM, li...@rhsoft.net wrote: OK, than it are "only" 5% on a highly optimized codebase Awww... that makes me kinda sad to hear. But perhaps with more work that needle can be moved upwards. One question which I didn't s

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread Sara Golemon
On Tue, May 2, 2017 at 2:51 PM, li...@rhsoft.net wrote: > OK, than it are "only" 5% on a highly optimized codebase > Awww... that makes me kinda sad to hear. But perhaps with more work that needle can be moved upwards. One question which I didn't see answered (in my admittedly quick scan): What

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
Am 02.05.2017 um 21:12 schrieb Nikita Popov: On Tue, May 2, 2017 at 9:04 PM, li...@rhsoft.net You have xdebug enabled... loaded, but not enabled xdebug.default_enable = 0 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 1 7.1.5: Requests per seco

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread Nikita Popov
On Tue, May 2, 2017 at 9:04 PM, li...@rhsoft.net wrote: > > Am 02.05.2017 um 20:53 schrieb Nikita Popov: > >> These results are very unlikely. I'm 95% sure your benchmark is >> broken. My first guess would be that you're benchmarking PHP + >> JIT against PHP without opcach

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
Am 02.05.2017 um 20:53 schrieb Nikita Popov: These results are very unlikely. I'm 95% sure your benchmark is broken. My first guess would be that you're benchmarking PHP + JIT against PHP without opcache. Please share the relevant (opcache-related) portion of the

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread Nikita Popov
On Tue, May 2, 2017 at 8:12 PM, li...@rhsoft.net wrote: > > > Am 02.05.2017 um 20:02 schrieb Nikita Popov: > >> On Tue, May 2, 2017 at 7:14 PM, li...@rhsoft.net >> mailto:li...@rhsoft.net>> wrote: >> >> and with a demo-page containing all sort of modules and bloat th

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
and BTW: for the 7.2.0 build i have not built pecl-extensions so the application is runnign witout APCu which means loading a single template in a core-cms-setup takes 1.6% versus 0.06% of the whole page maybe one missing relevant information: * no 3rd party code and micro-optimized to death o

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
that would be the numbers of 7.1.5RC1 *without* opcache Requests per second:136.46 [#/sec] (mean) Time per request: 366.405 [ms] (mean) Time per request: 7.328 [ms] (mean, across all concurrent requests) Transfer rate: 5429.78 [Kbytes/sec] received 7.1.5: Request

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
Am 02.05.2017 um 20:02 schrieb Nikita Popov: On Tue, May 2, 2017 at 7:14 PM, li...@rhsoft.net mailto:li...@rhsoft.net>> wrote: and with a demo-page containing all sort of modules and bloat the difference is even greater - can't wait to see that in production

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread Nikita Popov
On Tue, May 2, 2017 at 7:14 PM, li...@rhsoft.net wrote: > and with a demo-page containing all sort of modules and bloat the > difference is even greater - can't wait to see that in production > > is there anything known when it is expected to arrive in the official tree > or does Zend even hold i

Re: [PHP-DEV] the experimental jit-branch is impressive

2017-05-02 Thread li...@rhsoft.net
and with a demo-page containing all sort of modules and bloat the difference is even greater - can't wait to see that in production is there anything known when it is expected to arrive in the official tree or does Zend even hold it back until the point when they can suprise with a "we are don