Re: just a suggestion

From: Date: Mon, 20 Jun 2005 12:08:27 +0000
Subject: Re: just a suggestion
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-28541@lists.php.net to get a copy of this message
Hi Andrei, You just explained below, why there is no point in implementing the idea: there are too many factors to consider. It has nothing to tell to anyone not on the exact same setup, with the exact parameters. The solution is to grab some profiling tool (there are free ones out there) and profile your own code. Some functions might have exponential performance differences when changing parameters, some might have linear. Single numbers for specific platforms say absolutely nothing. For further profiling questions, please contact php-general@lists.php.net our mailing list for PHP users. Regards, Gabor Hojtsy > can you post average running time for the functions in your online help? > it would be easier for users to choose which function to use if they need speed > performance, you can also post the conditions under which it was ran, > for e.g. > > function: strpos() > average runtime: 0.01594 ms > times ran : 10000 > parameters used: strpos('abcdefghijklmonpqrstuvwxyz0123456789','klm') > ran on: PHP5.0.3+Apache 2.0 on WindowsXP, Intel Celeron 2.4Ghz 256Mb > > it would help a lot to know the average runtimes of functions, if it's possible to do them > all on the same machine it would be just perfect

« previous php.mirrors (#28541) next »