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: 273 All time: 7,647 This week: 1,420Up
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: 40
All time rank: 2552158 in Germany Germany
Week rank: 553 Up28 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  
This week:0
All time:7,647
This week:1,420Up