PHP Classes

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

Recommend this page to a friend!
  Info   Demos   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 244 This week: 1All time: 7,989 This week: 560Up
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: 42
All time rank: 182745 in Spain Spain
Week rank: 411 Up13 in Spain Spain Up
Innovation award
Innovation award
Nominee: 2x

  Demo 01 class.timeprofiler.phpExternal page  
  Files folder image Files  
File Role Description
Plain text file class.timeprofiler.php Class Time Profiler

 Version Control Unique User Downloads Download Rankings  
 0%
Total:244
This week:1
All time:7,989
This week:560Up