PEAR

Using Benchmark

As the name implies, this is a simple class for benchmarking code. Benchmarking, in case you’re not familiar, is the process of timing how long code blocks, entire scripts, or whole applications take to run. Doing so can be a useful tool for finding bottlenecks in your sites and improving performance.

I’ll say up front that the Benchmark class is nice and simple, but the documentation for it is lacking. There is simply no end-user documentation available.

Benchmarking is a good way to give you an understanding of execution tendencies:
is it generally better to do this or that? When it comes time to really fine-tune your applications, you should benchmark your exact code (i.e., what you’ve written versus alternative methods) on the server it will run on. Only then will you know for certain that you’ve got the best performance
possible.

Cumulus Tag Cloud

Kiran Says

I love work environment which is:

Informal yet professional
Demanding yet rewarding
Challenging yet inspiring
Mediocrity is not an option
Having fun is serious business
Making mistakes is human
Forgiveness is Company Policy

Travelling Sucks