PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 231 All time: 7,324 This week: 1,138Up
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: 2 packages by
Country: Spain Spain
Age: 34
All time rank: 247562 in Spain Spain
Week rank: 1669 Up46 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:231All time:7,324
 This week:0This week:1,138Up