定制 skillaug/benchmark 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

skillaug/benchmark

最新稳定版本:v1.0.0

Composer 安装命令:

composer require skillaug/benchmark

包简介

Good Performance need to benchmark

README 文档

README

Find the best solution by using benchmark

Installation

composer require --dev skillaug/benchmark "~1.0.0"

Usages

Basic

\skillaug\Benchmark::begin();

// your codes for benchmark here

\skillaug\Benchmark::end();

example results

Time:                     74 Mili second(s)
Memory_get_usage:         26 Megabyte(s)
Memory_get_peak_usage:    25.961 Megabyte(s)

With unit options

\skillaug\Benchmark::begin([
    'time' => 's', // second(s)
    'memory' => 'kb', // kilobyte(s)
]);

example results

Time:                     0.0759 Second(s)
Memory_get_usage:         26624.06 Kilobyte(s)
Memory_get_peak_usage:    26584.53 Kilobyte(s)

License

The BSD 3-Clause "New" or "Revised" License.

统计信息

  • 总下载量: 964
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固