adiafora/measure
Composer 安装命令:
composer require adiafora/measure
包简介
The package for measuring the time spent on script execution. Also to measure the memory expended
README 文档
README
A simple package for measuring the time spent on script execution. Also to measure the memory spent.
Install
Run:
composer require --dev adiafora/measure
Usage
Usage facade
First you need to call the timeStart() method.
timeStart();
From this moment, the countdown of time and memory spent will begin. Next, you can call the timeDump() or timeDd() method anywhere in your application.
timeDump(); // or timeDd();
You can continue to call one of the information output methods. You can also restart the counter by calling the timeStart() method.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-24