Re: [PHP-DEV] Performance optimization ideas for PHP 7.3

2018-04-20 Thread Albert Casademont
I agree on maybe opening another thread, I'm a contributor to PHP-PM so yes, we're trying to make things better on that end ;) On Thu, Apr 19, 2018 at 4:50 PM, Maxime Veber wrote: > Hello, > > Thank you very much Nicolas for theses detections ! (I'll try maybe my > first contributions to PHP 😇)

Re: [PHP-DEV] Performance optimization ideas for PHP 7.3

2018-04-19 Thread Nikita Popov
On Thu, Apr 19, 2018 at 4:10 PM, Nicolas Grekas < nicolas.grekas+...@gmail.com> wrote: > Hello internals, > > During the last months, I've been working on optimizing Symfony/Twig for > PHP7. > I found a few situations where the PHP engine could likely be optimized, > and where it would benefit rea

Re: [PHP-DEV] Performance optimization ideas for PHP 7.3

2018-04-19 Thread Maxime Veber
Hello, Thank you very much Nicolas for theses detections ! (I'll try maybe my first contributions to PHP 😇) Albert, I think what you are speaking about is another topic. But still interesting. You should maybe try to use php pm and see how it works and what are the drawbacks to fix so it works ni

Re: [PHP-DEV] Performance optimization ideas for PHP 7.3

2018-04-19 Thread Marco Pivetta
On Thu, Apr 19, 2018 at 4:41 PM, Albert Casademont < albertcasadem...@gmail.com> wrote: > Hi Nicolas, > > Don’t you think the biggest performance upgrade that PHP could bring is a > real application server that could keep the app bootsrapped between > requests, much like php-pm/reactphp/aerys are

Re: [PHP-DEV] Performance optimization ideas for PHP 7.3

2018-04-19 Thread Albert Casademont
Hi Nicolas, Don’t you think the biggest performance upgrade that PHP could bring is a real application server that could keep the app bootsrapped between requests, much like php-pm/reactphp/aerys are trying to do? Best, Albert On Thu, 19 Apr 2018 at 16:11, Nicolas Grekas wrote: > Hello intern

[PHP-DEV] Performance optimization ideas for PHP 7.3

2018-04-19 Thread Nicolas Grekas
Hello internals, During the last months, I've been working on optimizing Symfony/Twig for PHP7. I found a few situations where the PHP engine could likely be optimized, and where it would benefit real-world apps. In each case, these might look like micro-optimizations, but they are not in hot loo