Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31266 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9700 invoked by uid 1010); 25 Jul 2007 15:39:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9684 invoked from network); 25 Jul 2007 15:39:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2007 15:39:57 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 64.233.162.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 64.233.162.226 nz-out-0506.google.com Received: from [64.233.162.226] ([64.233.162.226:26893] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/E0-02163-BCE67A64 for ; Wed, 25 Jul 2007 11:39:56 -0400 Received: by nz-out-0506.google.com with SMTP id x7so179929nzc for ; Wed, 25 Jul 2007 08:39:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BrrVMi71SLgnKoNdUSjcxXsbtWeyshFFy6kjY3OPzSQ+Y2RESp91zU9dKQ1PYVINRKOCuDj4BoSQaX6wp482VzlgCUgKluPgHaDg9HwFbW+r10Vjmg2aKD0M+2cYe993whqfG90dGXc4EdK+HgnFqy0W14EXunsNgvsgU6Loh4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qCV/Ot+M1luB770vMo7ZmFk81EQBSo2eu4gjx5oyBBz5u40gPYTnOpeIOhIPXyRvJ03NDlP+d7jzF53M2d4dxY0rljOpsOmaZQR1CBHHpSMvVXl5urglcYllPlffvnSnmOtvHcu8w1LBFQ+ZT9rD2PZMqiiKG3aTMDOynK4Qqi0= Received: by 10.114.170.1 with SMTP id s1mr764964wae.1185377992363; Wed, 25 Jul 2007 08:39:52 -0700 (PDT) Received: by 10.115.74.10 with HTTP; Wed, 25 Jul 2007 08:39:52 -0700 (PDT) Message-ID: <10845a340707250839u475b1b01i839959300d37893c@mail.gmail.com> Date: Wed, 25 Jul 2007 16:39:52 +0100 Reply-To: RQuadling@GoogleMail.com To: "Nuno Lopes" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000301c7ce41$5fc5e7b0$0100a8c0@pc07653> Subject: Re: [PHP-DEV] Re: multi-threaded run-tests.php From: rquadling@googlemail.com ("Richard Quadling") On 25/07/07, Nuno Lopes wrote: > So here it is my first attempt: > http://gcov.php.net/~nlopess/multi_threaded_run_tests.txt > WARNING: The patch is ugly and the output of the script isn't the prettiest. > > Anyway, for automated testing seems to be good enough. > > Nuno > > P.S.: after this little hack, I also start to feel that run-tests.php should > be rewritten :P > > > ""Nuno Lopes"" wrote: > > Hi, > > > > Recently we have moved http://gcov.php.net to a new (and much faster) > > server. This allowed us to reduce the time to build all branches to "just" > > 2 days (compared with almost one week that would take previously). > > However I'm still not happy :P The server has 2x2 CPU cores and I would > > like to use them :) Currently I can speed-up the make process, because it > > can be parallelized (with -j xx). But the major time is still spent with > > run-tests.php. > > > > So, what I would like to propose is a multi-threaded version of > > run-tests.php. We could spawn x processes (configurable) and one of them > > would test y extensions (I think it's better to have each extension's > > tests tested serially or they may break, because they may use the same > > resources: BDs, files, etc..). > > > > Any comments? > > > > Thanks, > > Nuno Hey Nuno, you should stop looking at things. PhD and now run-tests. Soon you'll be taking a look at the php-src and thinking, "pah, look what those idiots have done, time for a rewrite!". :-) -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"