PHPackages                             rarst/laps - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. rarst/laps

ActiveWordpress-plugin[Debugging &amp; Profiling](/categories/debugging)

rarst/laps
==========

Light WordPress profiler.

3.3.7(4y ago)564272.7k↓10.5%37[2 issues](https://github.com/Rarst/laps/issues)2MITPHPPHP ^7.2.5 || ^8CI failing

Since Apr 22Pushed 3y ago22 watchersCompare

[ Source](https://github.com/Rarst/laps)[ Packagist](https://packagist.org/packages/rarst/laps)[ Docs](https://github.com/Rarst/laps)[ RSS](/packages/rarst-laps/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (7)Versions (26)Used By (2)

[![Laps v3 toolbar screenshot](https://camo.githubusercontent.com/a8bbb18aa08e652bd607dcf3a2025347f47dc24296a1907350850ec1f208bf3b/68747470733a2f2f692e696d6775722e636f6d2f4e7467417868702e706e67)](https://camo.githubusercontent.com/a8bbb18aa08e652bd607dcf3a2025347f47dc24296a1907350850ec1f208bf3b/68747470733a2f2f692e696d6775722e636f6d2f4e7467417868702e706e67)

Laps — light WordPress profiler
===============================

[](#laps--light-wordpress-profiler)

*Make a site, make it fast.*

[![Tests Status](https://github.com/rarst/laps/actions/workflows/tests.yml/badge.svg)](https://github.com/Rarst/laps/actions/workflows/tests.yml)[![Total Downloads](https://camo.githubusercontent.com/3a4e105cb29a763dd5facece5ec772ede9dc58be7b506d0d57e946af97e1f3cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72617273742f6c6170732e737667)](https://packagist.org/packages/rarst/laps)[![Latest Stable Version](https://camo.githubusercontent.com/b5dbaa12c9f4aa6e3f49538eafbaded9bd6905048d2cc21123b2f848f04b937f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72617273742f6c6170732e7376673f6c6162656c3d76657273696f6e)](https://packagist.org/packages/rarst/laps)[![PHP from Packagist](https://camo.githubusercontent.com/a587a97c922c76ef4da8a7d0697b4b0e635c7fd023ebd3d6a8d1f413d0dcee7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72617273742f6c6170732e737667)](https://packagist.org/packages/rarst/laps)[![Download Laps](https://camo.githubusercontent.com/f5e972d018d5ca6e1298a0c1e563a572db65955a6ca60dd1b983c2478bd9ef2c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f61642d6c6170732e7a69702d626c7565)](https://github.com/Rarst/laps/releases/latest/download/laps.zip)

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
--------------

[](#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](https://wordpress.org/support/article/debugging-in-wordpress/#savequeries))
- network requests to other sites

API profiling
-------------

[](#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](https://camo.githubusercontent.com/1e47fb82a08ab764c848b0a7b474c52a2ae09c9438d306ff05b76fc5dac0af8a/68747470733a2f2f692e696d6775722e636f6d2f686b6c31516b392e706e67)](https://camo.githubusercontent.com/1e47fb82a08ab764c848b0a7b474c52a2ae09c9438d306ff05b76fc5dac0af8a/68747470733a2f2f692e696d6775722e636f6d2f686b6c31516b392e706e67)

### API authentication

[](#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](https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/#cookie-authentication).

`laps_can_see` check can be filtered to relax required permissions on the plugin’s side.

Installation
------------

[](#installation)

[Composer](https://getcomposer.org/) (recommended)Release archive`composer require rarst/laps`[![Download Laps](https://camo.githubusercontent.com/1d18b4ed829a72fbf60d5f6194788e4dbd3d0bfc9155886ba24966dc8a8e62e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f61642d6c6170732e7a69702d626c75653f7374796c653d666f722d7468652d6261646765)](https://github.com/Rarst/laps/releases/latest/download/laps.zip)Tests
-----

[](#tests)

Tests require [Brain Monkey](https://github.com/Brain-WP/BrainMonkey) (included in dependencies) and PHPUnit 8 (not included).

```
phpunit
```

License
-------

[](#license)

MIT

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity55

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~139 days

Recently: every ~206 days

Total

25

Last Release

1479d ago

Major Versions

1.4.4 → 2.02018-02-26

2.0 → 3.02018-12-28

PHP version history (4 changes)2.0PHP &gt;=5.6

3.0PHP ^7.1.3

3.3.5PHP ^7.1.3 || ^8

3.3.6PHP ^7.2.5 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/689ddc4f33541ac4a001d247e560f8805d219a95e7e42a16e0d22b9409f385cb?d=identicon)[Rarst](/maintainers/Rarst)

---

Top Contributors

[![Rarst](https://avatars.githubusercontent.com/u/737584?v=4)](https://github.com/Rarst "Rarst (263 commits)")[![tomjn](https://avatars.githubusercontent.com/u/58855?v=4)](https://github.com/tomjn "tomjn (2 commits)")[![davegaeddert](https://avatars.githubusercontent.com/u/649496?v=4)](https://github.com/davegaeddert "davegaeddert (1 commits)")[![ramonfincken](https://avatars.githubusercontent.com/u/1746097?v=4)](https://github.com/ramonfincken "ramonfincken (1 commits)")

---

Tags

performancewordpresswordpress-pluginwordpressperformance

### Embed Badge

![Health badge](/badges/rarst-laps/health.svg)

```
[![Health](https://phpackages.com/badges/rarst-laps/health.svg)](https://phpackages.com/packages/rarst-laps)
```

###  Alternatives

[johnbillion/query-monitor

Query Monitor is the developer tools panel for WordPress and WooCommerce.

1.8k531.3k21](/packages/johnbillion-query-monitor)[spatie/laravel-ray

Easily debug Laravel apps

31841.3M3.6k](/packages/spatie-laravel-ray)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7531.3M3](/packages/wp-media-wp-rocket)[rarst/wps

WordPress plugin for whoops error handler.

129136.2k3](/packages/rarst-wps)[wp-media/imagify-plugin

Image optimization plugin for WordPress by WP Media.

8067.5k](/packages/wp-media-imagify-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
