santik / phpunit-profiler
Phpunit listener for profiling tests
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/santik/phpunit-profiler
Requires
- php: >=5
- phpunit/phpunit: ^4.6
This package is not auto-updated.
Last update: 2025-10-09 21:57:39 UTC
README
Small library for showing how much time every test took to run.
Installation
$ composer require santik/phpunit-profiler
Configuration
Add following lines in your phpunit.xml file.
<listeners>
...
<listener class="ProfilingTestListener" file="PATH_TO_DIRECTORY_WITH_LIBRARY/ProfilingTestListener.php">
<arguments>
<double>0.015</double><!--seconds-->
<double>0.001</double><!--seconds-->
</arguments>
</listener>
....
</listeners>