{"id":13519048,"url":"https://github.com/Rarst/laps","last_synced_at":"2025-03-31T12:31:04.557Z","repository":{"id":17151337,"uuid":"19918104","full_name":"Rarst/laps","owner":"Rarst","description":"Light WordPress profiler.","archived":false,"fork":false,"pushed_at":"2022-12-28T13:07:04.000Z","size":324,"stargazers_count":562,"open_issues_count":2,"forks_count":37,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-25T00:37:43.736Z","etag":null,"topics":["performance","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rarst.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-18T18:47:18.000Z","updated_at":"2025-03-18T18:34:12.000Z","dependencies_parsed_at":"2023-01-13T19:11:11.057Z","dependency_job_id":null,"html_url":"https://github.com/Rarst/laps","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rarst%2Flaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rarst","download_url":"https://codeload.github.com/Rarst/laps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246469056,"owners_count":20782657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["performance","wordpress","wordpress-plugin"],"created_at":"2024-08-01T05:01:53.070Z","updated_at":"2025-03-31T12:31:04.222Z","avatar_url":"https://github.com/Rarst.png","language":"PHP","readme":"![Laps v3 toolbar screenshot](https://i.imgur.com/NtgAxhp.png)\n\n# Laps — light WordPress profiler\n\n_Make a site, make it fast._\n\n[![Tests Status](https://github.com/rarst/laps/actions/workflows/tests.yml/badge.svg)](https://github.com/Rarst/laps/actions/workflows/tests.yml)\n[![Total Downloads](https://img.shields.io/packagist/dt/rarst/laps.svg)](https://packagist.org/packages/rarst/laps)\n[![Latest Stable Version](https://img.shields.io/packagist/v/rarst/laps.svg?label=version)](https://packagist.org/packages/rarst/laps)\n[![PHP from Packagist](https://img.shields.io/packagist/php-v/rarst/laps.svg)](https://packagist.org/packages/rarst/laps)\n[![Download Laps](https://img.shields.io/badge/download-laps.zip-blue)](https://github.com/Rarst/laps/releases/latest/download/laps.zip)\n\nLaps is a plugin that **shows performance information** about WordPress page load.\n\nIt provides a visual summary in toolbar that is quick and easy to inspect.\n\n## Page profiling\n\nLaps automatically tracks many events, such as:\n- PHP, core, plugins, and themes load, main posts loop, sidebars\n- database queries (with [`SAVEQUERIES` defined constant set to true](https://wordpress.org/support/article/debugging-in-wordpress/#savequeries))\n- network requests to other sites \n\n## API profiling\n\nFor Ajax and REST API — Laps outputs performance information by Server Timing API, for use with clients such as Chrome Dev Tools.\n\n![Laps v3 dev tools screenshot](https://i.imgur.com/hkl1Qk9.png)\n\n### API authentication\n\nAPI 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).\n\n`laps_can_see` check can be filtered to relax required permissions on the plugin’s side.\n\n## Installation\n\n| [Composer](https://getcomposer.org/) (recommended) | Release archive |\n| -------------------------------------------------- | -------- |\n| `composer require rarst/laps` | [![Download Laps](https://img.shields.io/badge/download-laps.zip-blue?style=for-the-badge)](https://github.com/Rarst/laps/releases/latest/download/laps.zip)|\n\n## Tests\n\nTests require [Brain Monkey](https://github.com/Brain-WP/BrainMonkey) (included in dependencies) and PHPUnit 8 (not included).\n\n```bash\nphpunit\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":["PHP","WordPress Plugins","Plugins"],"sub_categories":["7. Plugins for debug"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRarst%2Flaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRarst%2Flaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRarst%2Flaps/lists"}