PHP Classes
elePHPant
Icontem

PHP Benchmark Tool: Measure the time and memory that a PHP script uses

Recommend this page to a friend!

  Author Author  
Name: Alexandre <contact>
Classes: 2 packages by
Country: France France
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This package can measure the time and memory that a PHP script uses.

It can start taking note of a given moment that a script is running and record the start time and memory the script is using.

The package can also keep track of the time that elapsed and the memory that was used until one or more points of the same script.

It can as well measure the time and memory used when calling a given piece of code passed to the package as callable function.

  Classes of Alexandre  >  PHP Benchmark Tool  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Benchmark Tool
Base name: benchmarks
Description: Measure the time and memory that a PHP script uses
Version: -
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Performance and optimization Tools to measure and optimize the performance of systems View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
June 2019
Nominee
Vote
Many developers want to optimize their applications so they make a more efficient use of server resources.

Often developers are just concerned with the speed of their code but the RAM memory usage level is also important because when a server runs out RAM it starts using memory swap space in the system swap disc and the whole system starts getting too slow.

This package provides means to not only measure the time PHP code takes to execute so you can find any bottleneck and opportunities to make it faster, but also how much memory the code of a PHP script is taking so you can also focus your efforts in reducing the RAM memory usage.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (3 files)
Files folder imagetests (3 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Bench.php Class Class source
  Plain text file BenchManager.php Class Class source
  Plain text file Snap.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file BenchManagerTest.php Class Class source
  Plain text file BenchTest.php Class Class source
  Plain text file SnapTest.php Class Class source

Download Download all files: benchmarks.tar.gz benchmarks.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.