rarst/laps
最新稳定版本:3.3.7
Composer 安装命令:
composer require rarst/laps
包简介
Light WordPress profiler.
关键字:
README 文档
README
Laps — light WordPress profiler
Make a site, make it fast.
Laps is a plugin that shows performance information about WordPress page load.
It provides a visual summary in toolbar that is quick and easy to inspect.
Page profiling
Laps automatically tracks many events, such as:
- PHP, core, plugins, and themes load, main posts loop, sidebars
- database queries (with
SAVEQUERIESdefined constant set to true) - network requests to other sites
API profiling
For Ajax and REST API — Laps outputs performance information by Server Timing API, for use with clients such as Chrome Dev Tools.
API authentication
API requests need to be authenticated as admin for performance data to be sent. For Ajax requests cookies are sufficient. REST API requests also need nonce passed.
laps_can_see check can be filtered to relax required permissions on the plugin’s side.
Installation
| Composer (recommended) | Release archive |
|---|---|
composer require rarst/laps |
Tests
Tests require Brain Monkey (included in dependencies) and PHPUnit 8 (not included).
phpunit
License
MIT
统计信息
- 总下载量: 252.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 565
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-18