php-timer
Utility class for timing
About this project
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['REQUESTTIMEFLOAT']) The code above yields the output below:
Technologies
Project health
GitHub
Reviews
Built by
Maintain sebastianbergmann/php-timer? Claiming verifies admin access through your GitHub account and gives you control of this listing.