Re: cvs: php-benchmarks /benchcli/tests test_whirl.php /benchcli/tests/phpWhirl 99bottles.wr AUTHORS COPYING keymaker.wr whirl.php
/benchcli/tests/phpWhirl/classes WhirlMathRing.php WhirlMemory.php WhirlOpsRing.php WhirlParser.php WhirlRing.

From: Date: Tue, 02 Jun 2009 14:09:18 +0000
Subject: Re: cvs: php-benchmarks /benchcli/tests test_whirl.php /benchcli/tests/phpWhirl 99bottles.wr AUTHORS COPYING keymaker.wr whirl.php
/benchcli/tests/phpWhirl/classes WhirlMathRing.php WhirlMemory.php WhirlOpsRing.php WhirlParser.php WhirlRing.
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-65056@lists.php.net to get a copy of this message
On Tue, Jun 2, 2009 at 3:43 PM, Paul Biggar <paul.biggar@gmail.com> wrote: > On Tue, Jun 2, 2009 at 2:32 PM, Alexander Hjalmarsson <hjalle@sgh.se> > wrote: > > This benchmark, when running parsing keymaker.wr, takes pretty long time > for > > me (about 1 minute on a slow machine). If I run 99bottles instead, which > is > > a smaller program, it takes about 10 seconds instead. Is 1 minute > acceptable > > or should we go for the other, 99bottles? > > I've found in my benchmarking that its useful to have a set of > benchmarks which run very quickly, and another set where I can be > surer of the results. How long do the other benchmarks run for? > The tests are running at about 3-10 seconds. Maybe it's a good idea to have an argument for a longer run (like running the keymaker instead of 99bottles), but in that case, the micro benchmarks would be pretty useless as they would only increase the iteration-times. The other test I just uploaded also have a similar problem, though its the opposite. I just have working input thats like 1000 characters long, which makes the benchmark to only take like 3/4 of a second. It would be good to have better input data for that test, but it didn't work with more advanced javascripts such as the V8-benchmarks and similar. Do anyone know any "simple" input that might work, but that yet is pretty comprehensive? > > Paul > > > > > On Tue, Jun 2, 2009 at 3:19 PM, Alexander Hjalmarsson <hjalle@php.net > >wrote: > > > >> hjalle Tue Jun 2 13:19:40 2009 UTC > >> > >> Added files: > >> /php-benchmarks/benchcli/tests test_whirl.php > >> /php-benchmarks/benchcli/tests/phpWhirl 99bottles.wr AUTHORS > >> COPYING keymaker.wr > >> whirl.php > >> /php-benchmarks/benchcli/tests/phpWhirl/classes WhirlMathRing.php > >> WhirlMemory.php > >> WhirlOpsRing.php > >> WhirlParser.php > >> WhirlRing.php > >> Log: > >> Whirl parser test > >> > >> > >> -- > >> PHP Quality Assurance Mailing List > >> <http://www.php.net/> > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > > > > -- > Paul Biggar > paul.biggar@gmail.com >

« previous php.qa (#65056) next »