luar/php-excimer
最新稳定版本:v1.1.1
Composer 安装命令:
composer require luar/php-excimer
包简介
Implements the MediaWiki Excimer class for ease of use. Generate a json file that you can upload to speedscope.app to view the profile.
README 文档
README
This package implements the MediaWiki Excimer class for ease of use. Generate a json file that you can upload to speedscope.app to view the profile.
Installation
Require PHP 7.2 and requires installing the excimer extension in your php.ini.
extension=excimer.so
Installation with composer.
composer require luar/php-excimer
Usage
To use it simply include the following in php file:
Use:
use Luar\Excimer;
For profiling
Excimer::trace('/var/profiles/', 'filename', $_SERVER['REQUEST_URI']);
For a save a CSV file with time and memory used.
Excimer::startTimer('/var/metrics/', 'php-memory-usage');
Links
统计信息
- 总下载量: 2.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-27