hardl / laps

Light WordPress profiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laps v3 toolbar screenshot

Laps — light WordPress profiler

Make a site, make it fast.

Scrutinizer Code Quality Build Status Code Coverage Total Downloads Latest Stable Version PHP from Packagist PDS Skeleton 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

Composer (recommended) Release archive
composer require rarst/laps Download Laps

Tests

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

phpunit

License

MIT

About

Light WordPress profiler.

License:MIT License


Languages

Language:PHP 78.8%Language:JavaScript 18.6%Language:Less 2.3%Language:HTML 0.3%