PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 361 All time: 6,898 This week: 455Up
Version License PHP version Categories
benchmark_stopwatch 1.0GNU Lesser Genera...5.0PHP 5, Time and Date


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 is available for providing paid consulting. Contact Kai Dorschner .
Classes: 7 packages by
Country: Germany Germany
Age: 38
All time rank: 109371 in Germany Germany
Week rank: 354 Up12 in Germany Germany Up
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  
This week:0
All time:6,898
This week:455Up