Little Benchmark: Measure RAM amount, total and partial script time.

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 271 All time: 7,594 This week: 341Up
Version License PHP version Categories
little-benchmark 0.5.1GNU Lesser Genera...5.6PHP 5, Time and Date, Performance and...
Description Author

This class can measure the time passed between execution moments.

It can start a timer in a given moment and take note of the time that elapsed until another moment after having executed some PHP code.

Each moment is associated to a given text label. The class also records the RAM amount used by the current PHP script when it records the elapsed time for a given moment.

The class can return all the recorded moments as a single array or JSON object.

Picture of andrea bernardi
  Performance   Level  
Name: andrea bernardi <contact>
Classes: 3 packages by
Country: Italy Italy
Age: 44
All time rank: 2621103 in Italy Italy
Week rank: 790 Up33 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.LittleBenchmark.php Class the only required file
Accessible without login Plain text file example.php Example Working example on how one can use Little Benchmark

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,594
This week:341Up

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