Login   Register  
PHP Classes
elePHPant
Icontem

Benchmark: Measure the time that PHP scripts take 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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-02-28 (8 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 3,198 This week: 2All time: 1,021 This week: 870Up
Version License PHP version Categories  
profiling 1.0.0GNU General Public Lice...5PHP 5, Performance and optimization
Description Author  

This class can measure the time it takes to execute each parts of a PHP script.

The class can take note of different check points of the current script and thet time that elapsed since the start. Then it can generate an HTML report that show various types of statistics.

Features:

* Assign a mark to a check point in part of the code with a call level depth (for function calls)
* Compute the time between two check points for the different levels
* Show the slowest parts of the code using a color codes from green to red
* Can use an external data, for example, the number of SQL queries to show the slowest queries

Picture of Julien PACHET
Name: Julien PACHET <contact>
Classes: 15 packages by
Country: France France
Age: 37
All time rank: 261 in France France
Week rank: 117 Down4 in France France Down

  Files folder image Files  
File Role Description
Plain text file class_profiling.inc.php Class Class source
Accessible without login Plain text file test_profil.php Example example of benchmark class

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,198All time:1,021
 This week:2This week:870Up
User Ratings User Comments (1)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:223