Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28172 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45636 invoked by uid 1010); 27 Feb 2007 20:55:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45621 invoked from network); 27 Feb 2007 20:55:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2007 20:55:58 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 85.214.94.56 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Received: from [85.214.94.56] ([85.214.94.56:51321] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/97-04907-BDA94E54 for ; Tue, 27 Feb 2007 15:55:57 -0500 Received: from [192.168.1.3] (dslb-084-063-004-173.pools.arcor-ip.net [84.63.4.173]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 84EB01B363B; Tue, 27 Feb 2007 21:55:52 +0100 (CET) Date: Tue, 27 Feb 2007 21:55:55 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <479740775.20070227215555@marcus-boerger.de> To: Sebastian Bergmann CC: internals@lists.php.net In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Benchmark Suite From: helly@php.net (Marcus Boerger) Hello Sebastian, looks pretty fine. Only you don't need fallbacks right now. Simply add a check for PHP >= 5.2.0 since you are using Iterators and I don't see any sense in testing 5.0 or 5.1. You could further more make the run script operate a bit like run-tests.php and have the PHP executable be configurable and get version tested. So you would first check that the PHP runiing the run script is new enough and that second the tests are executed by an acceptable PHP version. When you want to spend more work, ever thought of making the bench files have a layout similar to *.phpt? So that we could split up in sections like name, actual bench, clean-up, etc? Or do you prefer to do all from within one file and call bench funcs manually? best regards marcus Tuesday, February 27, 2007, 5:53:53 PM, you wrote: > Sebastian Bergmann wrote: >> Have a look at > I uploaded a snapshot of what I have now (I added fallbacks for missing > functionality in PHP 4.4 and PHP 5.0 and the rest of the benchmarks) to > http://static.phpunit.de/benchmark.tbz2. > -- > Sebastian Bergmann http://sebastian-bergmann.de/ > GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 Best regards, Marcus