轻量级 WordPress 分析器。
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.
Laps automatically tracks many events, such as:
SAVEQUERIES defined constant set to true)For Ajax and REST API — Laps outputs performance information by Server Timing API, for use with clients such as Chrome Dev Tools.
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.
| Composer (recommended) | Release archive |
|---|---|
composer require rarst/laps |
Tests require Brain Monkey (included in dependencies) and PHPUnit 8 (not included).
phpunitMIT
暂无开放 Issues,或尚未同步最近议题。