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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 506 All time: 5,785 This week: 555Up
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: 42
All time rank: 325587 in Russian Federation Russian Federation
Week rank: 353 Up16 in Russian Federation Russian Federation Up

Details

Dm_PerfomanceMeter ====================== 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:506
This week:0
All time:5,785
This week:555Up
User Comments (1)
Excellent
14 years ago (kishore kumar)
80%StarStarStarStarStar