Login   Register  
PHP Classes
elePHPant
Icontem

Code Timer: Measure the time a PHP script takes to execute

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  
2007-05-03 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 517 All time: 5,200 This week: 1,523Up
Version License PHP version Categories  
codetimer 1.0BSD License4.0Performance and optimization
Description Author  

This is a simple class that can be used to measure the time that a script takes to execute.

It can start and stop the count of time at any point of the script.

The measured time is returned in seconds with micro-second resolution.

Picture of Joshua Townsend
Name: Joshua Townsend <contact>
Classes: 3 packages by
Country: United States United States
Age: 23
All time rank: 21124 in United States United States
Week rank: 405 Down40 in United States United States Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file example1.php Example Example of using class to see how long a function takes to execute
Plain text file timer.class.php Class The main timer class

 Version Control Unique User Downloads Download Rankings  
 0%Total:517All time:5,200
 This week:0This week:1,523Up