PHP Classes

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

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: 506 All time: 5,786 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: 325887 in Russian Federation Russian Federation
Week rank: 216 Up13 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 (4)  
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)

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