PHP StopWatch Class: Measures script execution time between steps

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 252 All time: 7,743 This week: 501Up
Version License PHP version Categories
stop-watch 1.0.0GNU General Publi...5.0PHP 5, Time and Date
Description Author

This class can measures script execution time between steps.

It can start measuring the time when a class object is created.

The class can take note of partial time for given steps and assign them a text label.

In the end it can return an array with the times it took to reach each step, as well the time between steps.

  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 18 packages by
Country: The Netherlands The Netherlands
Age: 53
All time rank: 1765 in The Netherlands The Netherlands
Week rank: 95 Up4 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 5x

Screenshots  
  • index.png
  Files folder image Files  
File Role Description
Plain text file stopwatch.class.php Class class itself
Accessible without login Plain text file stopwatch.example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:252
This week:0
All time:7,743
This week:501Up
User Comments (1)
nice work!
6 years ago (J Diamond)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.