PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 361 All time: 6,904 This week: 455Up
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 (2)  
File Role Description
Plain text file timer.php5 Class Stopwatch class
Accessible without login Plain text file example.php5 Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:361
This week:0
All time:6,904
This week:455Up