PHP Classes

CBenchmark: Measure the time a script takes to execute

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 535 This week: 1All time: 5,192 This week: 1,153Up
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
Age: ???
All time rank: 292720 in Bulgaria Bulgaria
Week rank: 911 Up6 in Bulgaria Bulgaria Up

  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:535All time:5,192
 This week:1This week:1,153Up