Login   Register  
PHP Classes

CBenchmark: Measure the time a script takes to execute

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 533 All time: 5,121 This week: 1,523Up
Version License PHP version Categories  
clsbenchmark 1.0GNU General Public Lice...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: 288220 in Bulgaria Bulgaria
Week rank: 1721 Up14 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:533All time:5,121
 This week:0This week:1,523Up