Login   Register  
PHP Classes
elePHPant
Icontem

Class: Benchmark

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Julien PACHET  >  Benchmark  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Benchmark
Base name: profiling
Description: Measure the time that PHP scripts take to execute
Related classes: , , ,
Version: -
PHP version: 5
License: GNU General Public License (GPL)
All time users: 2820 users
All time rank: 1080
Week users: 10 users
Week rank: 324
Picture of Julien PACHET
Author: Julien PACHET <e-mail contact>
Packages: 15 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Age: 35
All time rank: 281 in France France
Week rank: 109 Down5 in France France Down


  Detailed description  
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

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Performance and optimization Tools to measure and optimize the performance of systems View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Perfect (100.0%)
-
Good (95.0%)
-
-
Sufficient (69.5%)
205
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
web site This website use this class for admin's profiling
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class_profiling.inc.php Class Class source
Plain text file test_profil.php Example example of benchmark class

Download all files: profiling.tar.gz profiling.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.