Re: [PHP-DEV] New Memory Manager for PHP7

2014-08-22 Thread Dmitry Stogov
Hi, I'm going to commit this on next week, if nobody cares. MM is a self containing subsystem, and it must not affect anything else. Thanks. Dmitry. On Mon, Aug 18, 2014 at 10:07 PM, Levi Morrison le...@php.net wrote: On Mon, Aug 18, 2014 at 12:04 PM, Nikita Popov nikita@gmail.com

Re: [PHP-DEV] New Memory Manager for PHP7

2014-08-22 Thread Levi Morrison
On Fri, Aug 22, 2014 at 4:04 AM, Dmitry Stogov dmi...@zend.com wrote: Hi, I'm going to commit this on next week, if nobody cares. MM is a self containing subsystem, and it must not affect anything else. Thanks. Dmitry. I compared this to master on a small PHP array vs SplFixedArray

[PHP-DEV] New Memory Manager for PHP7

2014-08-18 Thread Dmitry Stogov
Hi, Please take a look into the proposed new Memory Manager for PHP: https://github.com/php/php-src/pull/777 The patch provides visible performance improvement on real life apps (tested on Linux 32 and 64 bit). It's based on ideas mainly borrowed from jemalloc and tcmalloc. I hope, the patch

Re: [PHP-DEV] New Memory Manager for PHP7

2014-08-18 Thread Levi Morrison
On Mon, Aug 18, 2014 at 6:04 AM, Dmitry Stogov dmi...@zend.com wrote: Hi, Please take a look into the proposed new Memory Manager for PHP: https://github.com/php/php-src/pull/777 It looks like the gains are mostly earned by passing size information; is that correct? -- PHP Internals - PHP

Re: [PHP-DEV] New Memory Manager for PHP7

2014-08-18 Thread Nikita Popov
On Mon, Aug 18, 2014 at 7:59 PM, Levi Morrison le...@php.net wrote: On Mon, Aug 18, 2014 at 6:04 AM, Dmitry Stogov dmi...@zend.com wrote: Hi, Please take a look into the proposed new Memory Manager for PHP: https://github.com/php/php-src/pull/777 It looks like the gains are mostly

Re: [PHP-DEV] New Memory Manager for PHP7

2014-08-18 Thread Levi Morrison
On Mon, Aug 18, 2014 at 12:04 PM, Nikita Popov nikita@gmail.com wrote: On Mon, Aug 18, 2014 at 7:59 PM, Levi Morrison le...@php.net wrote: On Mon, Aug 18, 2014 at 6:04 AM, Dmitry Stogov dmi...@zend.com wrote: Hi, Please take a look into the proposed new Memory Manager for PHP: