Re: [VOTE] [RFC] 64 bit platform improvements for string length and integer

From: Date: Wed, 14 May 2014 11:18:23 +0000
Subject: Re: [VOTE] [RFC] 64 bit platform improvements for string length and integer
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74191@lists.php.net to get a copy of this message
I've made some measurement in comparison with master branch. The patch definitely increase memory consumption up to 8%. It doesn't affect performance significantly (2-3% difference is a typical measurement mistake) for phpng I just may to compare the base structure sizes, because str_size_and_int64 has to be adopted for phpng first. Thanks. Dmitry. *base structure sizes [bytes]* phpng str_size_and_int64 diff zval 16 16 0.00% zend_string 24 32 33.33% HashTable 56 72 28.57% Bucket 32 32 0.00% zend_op_array 248 264 6.45% zend_class_entry 512 568 10.94% zend_op 48 56 16.67% *base structure sizes [bytes]* master str_size_and_int64 diff zval 24 24 0.00% HashTable 72 80 11.11% Bucket 72 72 0.00% zend_op_array 248 272 9.68% zend_class_entry 576 608 5.56% zend_op 48 56 16.67% *peak memory usage of real life applications [bytes] (with opcache disabled)* master str_size_and_int64 diff Wordpress-3.6.0 11,899,256 12,875,168 8.20% ZF1 29,287,976 31,131,864 6.30% *test performance [sec]* master str_size_and_int64 diff bench.php 1.976 1.987 -0.56% micro_bench.php 8.742 8.757 -0.17% *real-life performance [req/sec]* master str_size_and_int64 diff blog 99.4 99.2 -0.20% drupal 1581.6 1547.6 -2.15% fw 202.2 197.9 -2.13% hello 12247.2 12276.8 0.24% qdig 488.9 490.2 0.27% typo3 559.0 550.4 -1.54% wordpress 177.9 178.3 0.22% xoops 127.3 127.7 0.31% scrum 173.3 173.9 0.35% ZF1 Hello 1061.3 1060.4 -0.08% ZF2 Test 173.0 167.3 -3.29% wordpress-3.6 196.1 198.0 0.97% On Wed, May 14, 2014 at 12:51 AM, Anatol Belski <anatol.php@belski.net>wrote: > Hi, > > as announced previously, the vote starts on May 13th and ends on May 20th. > > https://wiki.php.net/rfc/size_t_and_int64_next#vote > > The RFC is considered approved with 50%+1 acceptance. Happy voting :) > > Best regards > > Anatol > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#74191) next »