PHP Classes

Simple benchmark: Measure the time a PHP script takes to run

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 274 This week: 1All time: 7,673 This week: 571Up
Version License PHP version Categories
benchmark 1.0GNU Lesser Genera...5.0PHP 5, Time and Date
Description 

Author

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

It can take note of time when it starts and ends a given PHP script named section.

The class can return that elapsed since it the beginning and and end of a section.

Picture of James Blond
Name: James Blond <contact>
Classes: 2 packages by
Country: Germany Germany
Age: 41
All time rank: 2563158 in Germany Germany
Week rank: 420 Up17 in Germany Germany Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file benchmark.php Example testing script
Plain text file benchamrk.class.php Class Benchmark Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:274
This week:1
All time:7,673
This week:571Up