Performance and optimization: Measure page load time Nick Pap (contact me)
This is a simple class that can be used to measure the time a script takes to execute.
It can take not of the current time of a given start and end points of a script .
The class returns the difference between the end and start time.