PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 274 All time: 7,679 This week: 660Up
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

 

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:274
This week:0
All time:7,679
This week:660Up