On Thu, Sep 11, 2014 at 1:02 AM, Daniel Kinzler <[email protected]>
wrote:

> Hi all.
>
> During the RFC doscussion today, the question popped up how the
> performance of
> creating closures compares to creating objects. This is particularly
> relevant
> for closures/objects created by bootstrap code which is always executed,
> e.g.
> when registering with a CI framework.
>
> Attached is a benchmark I quickly hacked up. It indicates that creating
> objects
> is about 40% slower on my setup (PHP 5.4.9). I'd be curious to know how it
> compares on HHVM.
>
> In absolute numbers though, creating an object seems to take about one
> *micro*second. That seems fast enough that we don't really have to care, I
> think.
>
> Anyone want to try?
>

3v4l can do HHVM as well: http://3v4l.org/barGj
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to