PHP Function Profiler: Measure the time a PHP function takes to execute

Recommend this page to a friend!
  Info   Demos   View files (1)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 241 All time: 7,877 This week: 427
Version License PHP version Categories
function-profiler 1.0.1GNU General Publi...3.0PHP 5, Time and Date, Performance and...
Description Author

This class can measure the time a PHP function takes to execute.

It takes a given function and calls it consecutively a given number of times.

The class returns the output of the function and the time that it took to execute the function in microseconds and milliseconds.

Innovation Award
PHP Programming Innovation award nominee
July 2014
Number 5

Prize: One downloadable copy of CodeLobster Professional
Sometimes it is necessary to optimize the performance of a given piece of PHP code.

This clsses allows to measure the time a function takes to execute many times, so you can evaluate more accurately if any optimizations have benefited the overall performance of the code of that function.

Manuel Lemos
Picture of Tony L. Requena
  Performance   Level  
Name: Tony L. Requena <contact>
Classes: 3 packages by
Country: Spain Spain
Age: 38
All time rank: 187345 in Spain Spain
Week rank: 136 5 in Spain Spain
Innovation award
Innovation award
Nominee: 2x

  Demo 01 class.timeprofiler.php  

Open in a separate window

File Role Description
class.timeprofiler.php Class Time Profiler

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,877
This week:427

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