Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 273 All time: 6,824 This week: 1,420Up
Version License PHP version Categories  
benchmark 1.0GNU Lesser General Publ...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: 32
All time rank: 2380159 in Germany Germany
Week rank: 499 Up19 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:6,824
 This week:0This week:1,420Up