⏱ PHP 性能工具可实时分析您的脚本、内存使用情况和数据库查询。支持 Laravel 和 Composer 的 Web、Web 控制台和命令行接口。
⏱ PHP 性能工具可实时分析您的脚本、内存使用情况和数据库查询。支持 Laravel 和 Composer 的 Web、Web 控制台和命令行接口。
Build: Master|Develop
// 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();
See the function overview for more functions.
See how to export data.
See more info over data review.
Set measuring point with or without label
Performance::point( );Finish previous measuring point
Performance::finish();Finish all measuring points and return test results
Performance::results();See the function overview for more.
Run the performance test for the command line
// Normal
$ php your_script.php
// Or live version
$ php your_script.php --live If you have any suggestions to improve this performance tool? Please add your feature, bug or improvement to the BACKLOG.dm. Or create a issues.
Get PHP performance tool by running the Composer command in the command line.
$ composer require bvanhoekelen/performanceOpen 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/performanceOpen 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();暂无开放 Issues,或尚未同步最近议题。