Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5498 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13669 invoked by uid 1010); 16 Nov 2003 20:19:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13610 invoked from network); 16 Nov 2003 20:19:25 -0000 Received: from unknown (HELO tng-web.takenet.de) (194.15.95.14) by pb1.pair.com with SMTP; 16 Nov 2003 20:19:25 -0000 Received: (qmail 6860 invoked by uid 505); 16 Nov 2003 20:19:05 -0000 Received: from behrens@takenet.de by tng-web by uid 0 with qmail-scanner-1.10 (uvscan: v4.2.40/v4304. . Clear:0. Processed in 0.749567 secs); 16 Nov 2003 20:19:05 -0000 Received: from unknown (HELO behrens2) (unknown) by unknown with SMTP; 16 Nov 2003 20:19:05 -0000 Message-ID: <00b801c3ac7e$ed482190$a74da8c0@behrens2> To: Date: Sun, 16 Nov 2003 21:19:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: [PHP-DEV] PHP Benchmark From: behrens@takenet.de ("Joerg Behrens") ----- Original Message ----- From: "Sebastian Bergmann" To: Sent: Saturday, November 15, 2003 8:13 AM Subject: [PHP-DEV] PHP Benchmark > A while ago I posted [1] a script that performed some micro-benchmarks > on PHP. > > I have now refined this benchmark by splitting the monolithic script > into one script per micro-benchmark thus performing each benchmark with > a fresh PHP interpreter. > > The benchmark "suite" is available at > > http://www.sebastian-bergmann.de/PHP_Benchmark/ > > Any comments, feedback, corrections and additions are welcome, > Sebastian Just for the records.. ./run.sh PHP 4.3.4 (64bit) Object Creation: 87530 objects created per second Member Access: 136673 member accesses per second Method Calls: 95166 method calls per second Array Creation: 134483 arrays created per second Array Index Access: 94235 array elements accessed by index per second Array Key Access: 258844 array elements accessed by key per second Basic FP: 468412 basic FP operations per second Complex FP: 255004 complex FP operations per second Nested Loops (FP): 138418 nested loops per second Nested Loops (Int): 137983 nested loops per second CPU: Mips r12000 Mhz: 270 Compiler: mipspro cc Note: 32bit binary is 1-5% faster. regards Joerg