Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12988 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56084 invoked by uid 1010); 26 Sep 2004 01:05:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56049 invoked from network); 26 Sep 2004 01:05:56 -0000 Received: from unknown (HELO mail.zend.com) (80.74.107.235) by pb1.pair.com with SMTP; 26 Sep 2004 01:05:56 -0000 Received: (qmail 28728 invoked from network); 26 Sep 2004 01:05:55 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 26 Sep 2004 01:05:55 -0000 Message-ID: <5.1.0.14.2.20040925180116.043ac7e0@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 25 Sep 2004 18:05:18 -0700 To: Thies C. Arntzen ,internals@lists.php.net In-Reply-To: References: <5.1.0.14.2.20040923164101.04382ec0@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_794128736==_" Subject: Re: [PHP-DEV] Benchmark of new VM From: andi@zend.com (Andi Gutmans) --=====================_794128736==_ Content-Type: text/plain; charset="us-ascii"; format=flowed Hi Thies, I'll see which parts of your patch can be adapted for 5.1.x. I think the var lookup is probably the most substantial one but I will probably implement it slightly different. I'll mail internals@ when I have something. As I mailed you, I tried the zval_copy_ctor() and zval_dtor() optimization of yours but didn't get any improvement. Can you try and run the patch I sent you to see if you get different results? I'm also attaching it again, in case others want to see if it changes anything. Andi At 06:36 PM 9/25/2004 +0200, Thies C. Arntzen wrote: >On 2004-09-24 01:42:48 +0200, Andi Gutmans said: > >>Hi, >>Take it at face value but I get the following results with the new VM vs. >>5.0.x on the bench.php script I commited to php5/Zend/tests. >>PHP 5.0.x PHP 5.1.x >>37.5secs vs 29secs >>You know I'm not a big believer in synthetic benchmarks but it's still >>quite nice. >>Andi > >on my box: > >5.0.x 45,3 >5.1.x 36.1 >4.3.x(*) 27.1 > >i just could not resist... > >re, >tc > >*with fasterharderstronger patch > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php --=====================_794128736==_--