Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2998 invoked from network); 14 May 2014 11:18:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 May 2014 11:18:27 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.128.178 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.128.178 mail-ve0-f178.google.com Received: from [209.85.128.178] ([209.85.128.178:53120] helo=mail-ve0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/84-15285-20153735 for ; Wed, 14 May 2014 07:18:26 -0400 Received: by mail-ve0-f178.google.com with SMTP id sa20so2154803veb.37 for ; Wed, 14 May 2014 04:18:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-type; bh=1ZPRAp3GOMIa67d0DKdHDy/XqHyFbbcWhszoYyyzKpM=; b=QSIWj291wLIw7CKFgSY/USG7bqKlqvG8N8V5PHFOiblhUaifT6zLTlT5GVoULpmEo0 7/xBS3S2m7EzmrkrGuqpNOU/00dwap4uheTv48NJh9qzdgGvPZ+hxpdqvEkRoyNaQiKq yN5DJRy0Qezms5L8P+71ui/HDFrZmT+f0RKbgMulohwutcGyVZUa/BiH1fBVrpiPNmWI mPFW+ZAY+87QMQdW35XN5xqX1Bh/5IdWpx4AN2iA3fEcfnHSuqFw5Gq10EOpZjtAI7+U OyXLwlIvugRqTb4RHK3N9po3ggZLkcplbttG90X9iM8OM1RCNfRzaqYrSHEcqeE7uE/x GOgw== X-Gm-Message-State: ALoCoQkCrzM9kO3K9cmgmNXyF9zWgFXLTdcQbwqUsJNZno62KhEsL3l2UmvZV1e8tBrFkEkCXMSDtCNvlxgt92s3Skcu+Q405hMlJXMbTHidvNz540OOFuBVX9bgO8dm6+vHesseb6Zd MIME-Version: 1.0 X-Received: by 10.52.13.98 with SMTP id g2mr58220vdc.46.1400066303404; Wed, 14 May 2014 04:18:23 -0700 (PDT) Received: by 10.52.111.71 with HTTP; Wed, 14 May 2014 04:18:23 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 May 2014 15:18:23 +0400 Message-ID: Cc: PHP Internals Content-Type: multipart/alternative; boundary=20cf302ef544ad4c2a04f95a56e1 Subject: Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer From: dmitry@zend.com (Dmitry Stogov) --20cf302ef544ad4c2a04f95a56e1 Content-Type: text/plain; charset=UTF-8 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 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 > > --20cf302ef544ad4c2a04f95a56e1--