Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread Dmitry Stogov
Hi, s...@geleia.net wrote: On Tue, May 18, 2010 8:22 am, Dmitry Stogov wrote: I'm proposing another optimisation technique implementation for PHP which makes up to 20% speed up on synthetic tests and up to 8% speed up on real-life applications. The technique is similar to "inline caches" which

Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread spam
On Tue, May 18, 2010 8:22 am, Dmitry Stogov wrote: > I'm proposing another optimisation technique implementation for PHP > which makes up to 20% speed up on synthetic tests and up to 8% speed up on > real-life applications. > > The technique is similar to "inline caches" which is very popular in JI

Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread Pierre Joye
On Mon, May 24, 2010 at 10:46 PM, Christopher Jones wrote: > > Thanks Dmitry - that's great. I second that, useful info for people with time issues like us :) > Also thanks to Stas for his reply. > > Chris > > Dmitry Stogov wrote: >> >> Hi Chris, >> >> I've added notes for extension maintainers.

Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread Christopher Jones
Thanks Dmitry - that's great. Also thanks to Stas for his reply. Chris Dmitry Stogov wrote: Hi Chris, I've added notes for extension maintainers. I hope they will answer all your questions. Thanks. Dmitry. Christopher Jones wrote: Dmitry Stogov wrote: >> > http://wiki.php.net/rfc/runt

Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread Dmitry Stogov
Hi Chris, I've added notes for extension maintainers. I hope they will answer all your questions. Thanks. Dmitry. Christopher Jones wrote: Dmitry Stogov wrote: >> > http://wiki.php.net/rfc/runtimecache >> > >> > The patch breaks binary and source compatibility but it's not hard to >

Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread Stas Malyshev
Hi! If I understand what you implied later in your email, calls to zend_hash_copy should be replaced with calls to object_properties_init. Is this always true? Is this the only That's probably not so. As I understand, the patch changes the way the object properties are accessed. So if your

Re: [PHP-DEV] Run Time Cache RFC

2010-05-24 Thread Christopher Jones
Dmitry Stogov wrote: >> > http://wiki.php.net/rfc/runtimecache >> > >> > The patch breaks binary and source compatibility but it's not hard to >> > adopt extensions to use it. >> >> Hi Dmitry, >> >> Can update the RFC to explain the breakage and > > It's clear from the patch. The same is ex

Re: [PHP-DEV] Run Time Cache RFC

2010-05-20 Thread Dmitry Stogov
Hi Jones, Christopher Jones wrote: Dmitry Stogov wrote: > Hi, > > I'm proposing another optimisation technique implementation for PHP > which makes up to 20% speed up on synthetic tests and up to 8% speed up > on real-life applications. > > The technique is similar to "inline caches" wh

Re: [PHP-DEV] Run Time Cache RFC

2010-05-20 Thread Christopher Jones
Dmitry Stogov wrote: > Hi, > > I'm proposing another optimisation technique implementation for PHP > which makes up to 20% speed up on synthetic tests and up to 8% speed up > on real-life applications. > > The technique is similar to "inline caches" which is very popular in JIT > compilers for o

[PHP-DEV] Run Time Cache RFC

2010-05-18 Thread Dmitry Stogov
Hi, I'm proposing another optimisation technique implementation for PHP which makes up to 20% speed up on synthetic tests and up to 8% speed up on real-life applications. The technique is similar to "inline caches" which is very popular in JIT compilers for object oriented languages. http: