Re: Re: Shootout

From: Date: Sat, 29 Dec 2001 19:35:24 +0000
Subject: Re: Re: Shootout
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-75285@lists.php.net to get a copy of this message
August Zajonc wrote: > > ----- Original Message ----- > From: "Sterling Hughes" <sterling@bumblebury.com> > > > The point, if you'd really like to know is that PHP is *not* > > optimized to do matrix operations (which is one of the examples), or > > infinitely recursive loops (I'm not even addressing the code at this > > point) -- but that makes little difference in a real world script. > > The real world is made up of method calls, array access, counts, echo's, > hashes, string concatenation, file i/o. This benchmark tests those. nobody that knows what is doing will never end up writing such calculus intensive code in PHP! also i want to point you that in some tests, much more related to the usefulness of a scripting language (array hashing and string concats), php performs pretty well, better than java. The real world is also made of web servers, databases, HTML, esoteric API, people learning how to build a program: this kind of benchmark does not take in account this. If this benchmark had some significance everybody will start tomorrow to write web application in that obscure language *mercury*, so strong at nesting loops. regards, -- Roberto Biancardi -- biancardi@xware.it --

« previous php.dev (#75285) next »