FAQ
Hi Basant,

I've updated you patch for 5.3 (attached, don't forget to regenerate
zend_vm_execute.h). 5.2 is closed for such changes anyway and I don't
think the patch should be applied into 5.3 too, because it is in RC stage.

I got ~10% speed-up on very synthetic benchmarks (b.php attached).
The speed difference on real-life applications without opcode caches is
invisible. I wasn't able to test it with caches.

In general the idea is very interesting, but as I mentioned before I
don't like extension of zend_opcode and tricky usage of object handlers.
It should be done in some more general way.

Anyway, please check if my changes didn't make your patch slower.

May be someone would like to play with patch and make it better...

Thanks. Dmitry.

Basant Kukreja wrote:
Attached is the patch for bug 47815
http://bugs.php.net/bug.php?id=47815

I applied this patch on php-5.2.9 and it applied cleanly.

Thanks for looking into the patch.

Regards,
Basant.

Search Discussions

  • Lukas Kahwe Smith at Apr 7, 2009 at 9:18 am

    On 31.03.2009, at 20:36, Dmitry Stogov wrote:

    Hi Basant,

    I've updated you patch for 5.3 (attached, don't forget to regenerate
    zend_vm_execute.h). 5.2 is closed for such changes anyway and I
    don't think the patch should be applied into 5.3 too, because it is
    in RC stage.

    I got ~10% speed-up on very synthetic benchmarks (b.php attached).
    The speed difference on real-life applications without opcode caches
    is invisible. I wasn't able to test it with caches.

    In general the idea is very interesting, but as I mentioned before I
    don't like extension of zend_opcode and tricky usage of object
    handlers. It should be done in some more general way.

    Anyway, please check if my changes didn't make your patch slower.

    May be someone would like to play with patch and make it better...

    Ok, stuff like this indeed too late for 5.3, so please if at all ..
    work on this in HEAD.

    regards,
    Lukas Kahwe Smith
    mls@pooteeweet.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedMar 31, '09 at 6:36p
activeApr 7, '09 at 9:18a
posts2
users2
websitephp.net

People

Translate

site design / logo © 2022 Grokbase