Re: Method call overhead
| From: | Sara Golemon | Date: | Thu, 04 Jun 2015 21:55:36 +0000 |
| Subject: | Re: Method call overhead | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86490@lists.php.net to get a copy of this message | ||
> On Jun 4, 2015, at 10:00, Rowan Collins <rowan.collins@gmail.com> wrote:
> : http://3v4l.org/l75kf
>
> HHVM's percentages are lower primarily because its for loop measure is much slower in
> absolute terms.
>
At the risk of distracting from the central topic, I'd like to point out that HHVM's times
are almost certainly based on non-JITted code. The JIT doesn't kick in until the 11th request,
and 3v4l scripts are, by definition, only run once.
PHP is optimized for blind interp, so it's doing better in that mode.
-Sara