PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 494 All time: 5,476 This week: 1,359Up
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

Picture of Dmitry Pljonkin
Name: Dmitry Pljonkin <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 33
All time rank: 303078 in Russian Federation Russian Federation
Week rank: 1586 Up49 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  
 0%Total:494All time:5,476
 This week:0This week:1,359Up
 User Comments (1)  
6 years ago (kishore kumar)