Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30053 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6251 invoked by uid 1010); 5 Jun 2007 08:18:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6235 invoked from network); 5 Jun 2007 08:18:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2007 08:18:17 -0000 Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:20831] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/11-30127-64C15664 for ; Tue, 05 Jun 2007 04:18:17 -0400 Received: (qmail 367 invoked from network); 5 Jun 2007 08:18:11 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 5 Jun 2007 08:18:11 -0000 Message-ID: <46651C40.2010109@zend.com> Date: Tue, 05 Jun 2007 12:18:08 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Sebastian Bergmann CC: internals@lists.php.net References: <4664304D.5010609@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Benchmark Suite From: antony@zend.com (Antony Dovgal) On 05.06.2007 11:25, Sebastian Bergmann wrote: > Antony Dovgal wrote: >> Hello Sebastian. > > Hello Antony, > >> What's the status of this? >> Do you have anything working? > > back in February/March when I first posted about this, I discussed this > with Marcus. The conclusion was that we wanted to rewrite run-tests.php > based on the Iterator approach I used for the benchmark system's > prototype. Require SPL for a test suite? Doesn't seem to be good idea.. > Benchmarks would then be .phpb in addition to .phpt for > tests. > > I did some work on this but stopped when I got negative feedback (on > IRC) towards the idea of rewriting "something that works" > (run-tests.php). Well, I personally think we'll have to do it sooner or later. The current version run-tests.php is really hard to maintain and improve. We can have both for some time and drop the old one when we're sure that the new one is stable. It's a developers tool anyway.. > I see several options to continue: > > - Add .phpb style support for benchmarks to the current run-tests.php. > > - Improve run-tests.php to also collect Peak Memory Usage, store the > data in SQLite, and have a test (optionally) fail when it takes more > memory than it did in the past (one of the ideas that I had for the > rewrite). Oh, that would be too much IMO.. > - Do the rewrite. > > Opinions? I'm for the rewrite and I'm ready to help. -- Wbr, Antony Dovgal