Re: [PHP-DEV] [RFC] Measuring maximum execution time based on wall-time

2020-12-11 Thread Andreas Leathley
On 11.12.20 10:59, Máté Kocsis wrote: That's why I'd like to add support for measuring the execution timeout based on the wall-time. There are a couple of ways to approach the problem though: - by measuring wall-time on all platforms - by adding a new "max_execution_time_type" or so ini setting f

Re: [PHP-DEV] [RFC] Measuring maximum execution time based on wall-time

2020-12-11 Thread Rowan Tommins
On 11/12/2020 09:59, Máté Kocsis wrote: I would also be very curious if anyone is aware of the reasons why the CPU time metric was chosen back then? In my opinion, wall-time is much more useful, but maybe I'm just missing some technical limitations (?). For most users, the max execution time i

[PHP-DEV] [RFC] Measuring maximum execution time based on wall-time

2020-12-11 Thread Máté Kocsis
Dear Internals, Currently, our company is migrating away from HHVM to PHP, and we are experiencing some performance regressions due to the fact that the max_execution_time ini setting has different semantics in the two languages. By default, HHVM measures wall-time, but the behaviour can be contr