PHP code example of santik / phpunit-profiler

1. Go to this page and download the library: Download santik/phpunit-profiler library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

santik / phpunit-profiler example snippets


<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>