-
Notifications
You must be signed in to change notification settings - Fork 36
Doc installation guide
Bart van Hoekelen edited this page Apr 26, 2017
·
1 revision
Get PHP performance tool by running the composer command in the command line.
$ composer require bvanhoekelen/performance
Open your file for the performance test.
// Add namespace at the top
use Performance\Performance;
// Set measure point
Performance::point();
//
// Run test code
//
// Finish all tasks and show test results
Performance::results();
Get PHP performance by running the composer command in the command line.
$ composer require bvanhoekelen/performance
Open your file for the performance test.
// Require vender autoload
require_once('../vendor/autoload.php');
// Add namespace at the top
use Performance\Performance;
// Set measure point
Performance::point();
//
// Run test code
//
// Finish all tasks and show test results
Performance::results();
Return to wiki home page