Laps #2 in Developer Tools
Light WordPress profiler.
by Andrey “Rarst” Savchenko · github.com/rarst/laps · website
★ 565stars
7.5krelease downloads
≈590active sites
277kcomposer installs
37forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/rarst/laps/releases/download/3.3.7/laps.zipAlso on Packagist as rarst/laps:
composer require rarst/lapsDeclares an update source (false), so updates arrive through the plugin's own updater.
From the 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 SAVEQUERIES defined 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.
lapscansee 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).
License
MIT
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 3.3.7 | Jun 16, 2022 | laps.zip | 2,818 |
| 3.3.6 | Feb 8, 2022 | laps.zip | 293 |
| 3.3.5 | Sep 28, 2021 | laps.zip | 291 |
| 3.3.4 | Nov 16, 2020 | laps.zip | 717 |
| 3.3.3 | Mar 11, 2020 | laps.zip | 609 |
| 3.3.1 | Jul 2, 2019 | laps-3.3.1.zip | 438 |
| 3.3.1 | Jul 2, 2019 | laps.zip | 156 |
| 3.3 | Mar 27, 2019 | laps-3.3.zip | 277 |
| 3.2 | Jan 30, 2019 | laps-3.2.zip | 137 |
| 3.1 | Jan 22, 2019 | laps-3.1.zip | 44 |
| 3.0.1 | Jan 9, 2019 | laps-3.0.1.zip | 70 |
| 3.0 | Dec 28, 2018 | laps-3.0.zip | 56 |
| 2.0 | Feb 26, 2018 | laps-2.0.zip | 1,035 |
| 1.4.4 | Jul 5, 2017 | laps-1.4.4.zip | 96 |
| 1.4.3 | Jun 28, 2017 | laps-1.4.3.zip | 23 |
| 1.4.2 | Dec 2, 2016 | laps-1.4.2.zip | 92 |
| 1.4.1 | Dec 1, 2016 | laps-1.4.1.zip | 19 |
| 1.4 | Oct 1, 2016 | laps-1.4.zip | 40 |
| 1.3.2 | Aug 27, 2015 | laps-1.3.2.zip | 163 |
| 1.3.1 | Aug 11, 2015 | laps-1.3.1.zip | 15 |
| 1.3 | Jun 12, 2015 | laps-1.3.zip | 25 |
| 1.2.1 | Feb 6, 2015 | laps-1.2.1.zip | 44 |
Active-site estimate ≈590 comes from the median of recent superseded releases. Method.