Download the PHP package phpunit/php-timer without Composer
On this page you can find all versions of the php package phpunit/php-timer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phpunit/php-timer
More information about phpunit/php-timer
Files in phpunit/php-timer
Download phpunit/php-timer
More information about phpunit/php-timer
Files in phpunit/php-timer
Vendor phpunit
Package php-timer
Short Description Utility class for timing
License BSD-3-Clause
Homepage https://github.com/sebastianbergmann/php-timer/
Package php-timer
Short Description Utility class for timing
License BSD-3-Clause
Homepage https://github.com/sebastianbergmann/php-timer/
Keywords timer
Please rate this library. Is it a good library?
Informations about the package php-timer
phpunit/php-timer
Utility class for timing things, factored out of PHPUnit into a stand-alone component.
Installation
You can add this library as a local, per-project dependency to your project using Composer:
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
Usage
Basic Timing
The code above yields the output below:
Resource Consumption
Explicit duration
The code above yields the output below:
Duration since PHP Startup (using unreliable $_SERVER['REQUEST_TIME_FLOAT']
)
The code above yields the output below:
All versions of php-timer with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package phpunit/php-timer contains the following files
Loading the files please wait ....