Download the PHP package disfasia/php-timing without Composer
On this page you can find all versions of the php package disfasia/php-timing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download disfasia/php-timing
More information about disfasia/php-timing
Files in disfasia/php-timing
Download disfasia/php-timing
More information about disfasia/php-timing
Files in disfasia/php-timing
Vendor disfasia
Package php-timing
Short Description Get execution times of a full script or parts of it
License
Package php-timing
Short Description Get execution times of a full script or parts of it
License
Please rate this library. Is it a good library?
Informations about the package php-timing
PHP-Timing
A simple static class to dissect execution times of a full script or parts of it.
Getting Started
Include Timing.php
via include
, require
or composer autoload
and use it as a static class.
Methods
Timing:: start('name') / stop('name')
Calculate the execution time between two points.
Timing:: break
Saves the time elapsed since the script started to the break point
Timing:: measure('name', callback)
Calculate the execution time of a function
Timing:: addCallback( callback )
Adds a function called every time a new timing has been saved
Timing:: getTimings($round = 3, $slowThreshold = -INF, callable $cb )
Returns all saved times under a key=>value array
All versions of php-timing with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
The package disfasia/php-timing contains the following files
Loading the files please wait ....