PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-05-17 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 273 All time: 7,073 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: 33
All time rank: 2412156 in Germany Germany
Week rank: 1626 Up79 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:273All time:7,073
 This week:0This week:1,420Up