PHP Classes

DM Perfomance Meter: Measures script execution time (with checkpoints)

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-10-26 (13 years ago) RSS 2.0 feedNot enough user ratingsTotal: 500 All time: 5,706 This week: 380Up
Version License PHP version Categories
dm_perf_meter 1.0The PHP License3Performance and optimization
Description Author

This package is intended for measuring script (or its part) execution time.

It measures time taken to execute part of PHP script between specified start and end points. It also can measure time of arbitrary checkpoints.

It supports:

* Setting multiple named check points
* Output measurement results as plain text, HTML comment, and HTML unordered list
* Log results to CSV files

Name: Dmitry Pljonkin <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 37
All time rank: 316584 in Russian Federation Russian Federation
Week rank: 628 Up22 in Russian Federation Russian Federation Up




Dm_PerfomanceMeter is a simple class which measures execution 
time of your PHP scripts.

It allows to:
  * set multiple named checkpoints
  * output mesaurement results as plain text, html comment 
    and html unordered list (UL)
  * log results in csv files

Each "result" is time (in seconds) from start till check point.

There are CLI and "web" examples in this package.
  Files folder image Files  
File Role Description
Plain text file class.Dm_PerfomanceMeter.php Class Class library
Accessible without login Plain text file readme.txt Doc. Short package description
Accessible without login Plain text file example.php Example Simple example script
Accessible without login Plain text file example-cli.php Example Simple example script (for running in command line mode)

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,706
This week:380Up
User Comments (1)
9 years ago (kishore kumar)