Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Demos   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-21 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 216 This week: 1All time: 7,151 This week: 1,410Up
Version License PHP version Categories  
function-profiler 1.0.1GNU General Public Lice...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
Name: Tony L. Requena <contact>
Classes: 2 packages by
Country: Spain Spain
Age: 33
All time rank: 247261 in Spain Spain
Week rank: 568 Up15 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

  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:216All time:7,151
 This week:1This week:1,410Up