bogkov/execution-speed
Composer 安装命令:
composer require bogkov/execution-speed
包简介
This component provides the functionality to calculate the execution speed
README 文档
README
Execution Speed
This component provides the functionality to calculate the execution speed
Installation
This package can be installed as a Composer dependency bogkov/execution-speed
composer require bogkov/execution-speed
Usage
<?php $executionSpeed = new Bogkov\ExecutionSpeed\ExecutionSpeed($max = 50); $executionSpeed->push($count = 100, $duration = 10); $executionSpeed->push($count = 120, $duration = 11); $executionSpeed->push($count = 90, $duration = 8); echo 'Speed: ' . $executionSpeed->getSpeed($coefficient = 0.3, $precision = 2); // Speed: 10.85
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-19