Performance and optimization: Stopwatch
Zafar Iqbal (contact me)
This class emulates a stopwatch that can measure partial and final time elapsed between events named as laps.
It takes the time since the start and the time that is taken on each lap.
The final results are sorted by lap time. A percentage of total time taken on each lap takes is also shown.
A practical example usage of this class could be profiling and optimizing your code.
Click here for detailed information about this class on phpclasses.org