Created
March 28, 2011 18:52
-
-
Save benmatselby/891029 to your computer and use it in GitHub Desktop.
Adding XHProf as a PHPUnit listener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<listeners> | |
<listener class="PHPUnit_Util_Log_XHProf" file="/usr/lib/php/PHPUnit/Util/Log/XHProf.php"> | |
<arguments> | |
<array> | |
<element key="xhprofLibFile"> | |
<string>/Users/ben/Sites/xhprof_lib/utils/xhprof_lib.php</string> | |
</element> | |
<element key="xhprofRunsFile"> | |
<string>/Users/ben/Sites/xhprof_lib/utils/xhprof_runs.php</string> | |
</element> | |
<element key="xhprofWeb"> | |
<string>http://localhost/xhprof_html/index.php</string> | |
</element> | |
<element key="appNamespace"> | |
<string>THE_APPLICATION</string> | |
</element> | |
<element key="xhprofFlags"> | |
<string>XHPROF_FLAGS_CPU,XHPROF_FLAGS_MEMORY</string> | |
</element> | |
</array> | |
</arguments> | |
</listener> | |
</listeners> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment