Icontem

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

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-07-24 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 92 This week: 1All time: 394 This week: 22Up
Version License JavaScript version Categories
function-profiler 1.0.0GNU General Publi...1.0Debug, Performance
Description Author

This object can measure the time a 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
JavaScript Programming Innovation award winner
July 2014
Winner
Sometimes it is necessary to optimize the performance of a given piece of JavaScript code.

This object 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: 1 package by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Demo 01 class.timeprofiler.jsExternal page  
  Files folder image Files  
File Role Description
Plain text file class.timeprofiler.js Class Main Class
Accessible without login Plain text file test.html Example Test File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:92
This week:1
All time:394
This week:22Up