PHP Classes
elePHPant
Icontem

Benchmark stopwatch: Measure the time a PHP script takes to execute

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-02-08 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 357 All time: 6,549 This week: 970Up
Version License PHP version Categories
benchmark_stopwatch 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 execute.

It can start measuring the time in milliseconds that passes since any given point of a PHP script.

The class can also suspend and resume the time measuring any time later in the script.

It can return a formatted string with the list of periods of time that were measured.

Picture of Kai Dorschner
Name: Kai Dorschner <contact>
Classes: 7 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file timer.php5 Class Stopwatch class
Accessible without login Plain text file example.php5 Example Example script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:357
This week:0
All time:6,549
This week:970Up