lightair / phpunit-testlistener-xhprof
A updated TestListener for PHPUnit that uses XHProf for automated profiling of the tested code.
Installs: 10 909
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 18
Open Issues: 0
Requires
- php: >=5.6
- phpunit/phpunit: 5.7.*
This package is auto-updated.
Last update: 2022-02-01 13:03:16 UTC
README
This is updated fork to - A TestListener that integrates with XHProf
1.0.3 - for php >= 5.6 & phpunit 5.7.*
1.0.2 - for php >= 5.6 & phpunit 5.6.*
======= Here is an example XML configuration for activating this listener:
<listeners> <listener class="PHPUnit\XHProfTestListener\XHProfTestListener"> <arguments> <array> <element key="xhprofLibFile"> <string>/var/www/xhprof_lib/utils/xhprof_lib.php</string> </element> <element key="xhprofRunsFile"> <string>/var/www/xhprof_lib/utils/xhprof_runs.php</string> </element> <element key="xhprofWeb"> <string>http://localhost/xhprof_html/index.php</string> </element> <element key="appNamespace"> <string>Doctrine2</string> </element> <element key="xhprofFlags"> <string>XHPROF_FLAGS_CPU,XHPROF_FLAGS_MEMORY</string> </element> <element key="xhprofIgnore"> <string>call_user_func,call_user_func_array</string> </element> </array> </arguments> </listener> </listeners>