Re: Benchmark two functions against each other?
| From: | Stuart Dallas | Date: | Mon, 27 Jun 2011 17:33:57 +0000 |
| Subject: | Re: Benchmark two functions against each other? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313766@lists.php.net to get a copy of this message | ||
On Mon, Jun 27, 2011 at 5:34 PM, Scott Baker <bakers@canbytel.com> wrote:
> I have functions that I'd like to benchmark and compare. What are the
> best PHP libraries or websites to do that? Something like jsperf.com but
> for PHP would be ideal.
>
You're not going to find a service that will let you do that - allowing
arbitrary PHP to be entered into a website to be executed is far too
dangerous.
Just knocked this up, should do what you want:
https://gist.github.com/1049335
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/