Re: cvs: php-benchmarks / deltablue.php

From: Date: Mon, 04 May 2009 15:45:35 +0000
Subject: Re: cvs: php-benchmarks / deltablue.php
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-64861@lists.php.net to get a copy of this message
Hi Alexander, On Mon, May 4, 2009 at 4:24 PM, Alexander Hjalmarsson <hjalle@sgh.se> wrote: > The grammar in the comments are a result of a bad copy-paste usage from the java-source. I > guess he (Mario Wolzcko I believe) had a habit of doing so or thought it was the best way. I could > change it if that’s needed. If those were the comments in the Java source, I dont think there is any harm in leaving them. > I took the loop-figure from the SunSpider-test > (http://svn.webkit.org/repository/webkit/trunk/SunSpider/tests/v8-deltablue.js) and I have no idea > where they got that figure from. I guess it can be a good idea to lower it in the beginning at least > so it doesn't time-out like Ólafur said. I would guess that they decided on a number that made their tests run for some period of time. However, looping like that is cheating in benchmarking, so it would be better if we could eliminate it. Can we play with the parameters to chainTest and projectionTest to make it run longer (assuming the loop is removed)? I think a good number here is whatever makes it run for a few (10?) seconds. The other benchmarks should be modified to run for about the same amount of time. We also need to consider memory usage here. Is the benchmark tested? The raytracer code came with some reasonable tests to see that it worked - it just checked it got the same result as the javascript tests. Is anything like that practical for deltablue? Thanks, Paul -- Paul Biggar paul.biggar@gmail.com

« previous php.qa (#64861) next »