PHP Classes
elePHPant
Icontem

CBenchmark: Measure the time a script takes to execute

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-08-16 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 542 This week: 1All time: 5,278 This week: 1,047Up
Version License PHP version Categories
clsbenchmark 1.0GNU General Publi...5PHP 5, Performance and optimization
Description Author

This class can be used to measure the time a PHP script takes to execute.

It can start measuring execution time in different script check points. Each check point is tagged with a label.

The class can also measure the time to execute a given function of a given object class.

The execution time statistics can be presented in an HTML table showing the different check points and the time it took to go from one to the other.

Picture of Borislav Nedelchev
Name: Borislav Nedelchev <contact>
Classes: 1 package by
Country: Bulgaria Bulgaria

  Files folder image Files  
File Role Description
Accessible without login Plain text file clsBenchMark.php Class Benchmark class implementation
Plain text file example.classes.php Example Demo classes used in some of the examples
Plain text file example1.php Example Demo example of using benchmark class
Plain text file example2.php Example Demo example of using benchmark class
Plain text file example3.php Example Demo example of using benchmark class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:542
This week:1
All time:5,278
This week:1,047Up