rarst/laps

Light WordPress profiler.

Installs: 195 133

Dependents: 3

Suggesters: 0

Security: 0

Stars: 549

Watchers: 22

Forks: 37

Open Issues: 2

Type:wordpress-plugin

3.3.7 2022-06-16 08:07 UTC

This package is auto-updated.

Last update: 2024-10-28 16:58:04 UTC


README

Laps v3 toolbar screenshot

Laps — light WordPress profiler

Make a site, make it fast.

Tests Status Total Downloads Latest Stable Version PHP from Packagist Download Laps

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:

API profiling

For Ajax and REST API — Laps outputs performance information by Server Timing API, for use with clients such as Chrome Dev Tools.

Laps v3 dev tools screenshot

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

Tests

Tests require Brain Monkey (included in dependencies) and PHPUnit 8 (not included).

phpunit

License

MIT