1. Go to this page and download the library: Download axel-dzhurko/load-analyser 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/ */
axel-dzhurko / load-analyser example snippets
// Add namespace at the top
use LoadAnalyser\LoadAnalyser;
// Set measure point
LoadAnalyser::point();
//
// Run test code
//
// Finish all tasks and show test results
LoadAnalyser::results();
LoadAnalyser::point( <optional:label> );
LoadAnalyser::finish();
LoadAnalyser::results();
// Normal
$ php your_script.php
// Or live version
$ php your_script.php --live
// Add namespace at the top
use LoadAnalyser\LoadAnalyser;
// Set measure point
LoadAnalyser::point();
//
// Run test code
//
// Finish all tasks and show test results
LoadAnalyser::results();
// Require vender autoload
op
use LoadAnalyser\LoadAnalyser;
// Set measure point
LoadAnalyser::point();
//
// Run test code
//
// Finish all tasks and show test results
LoadAnalyser::results();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.