Updated readme with new screenshots and API profiling info.
This commit is contained in:
1 parent
2ded7a3412
commit
e1b2bd3d40
1 file changed
+17
-6
@@ -1,4 +1,9 @@
|
||||

|
||||
|
||||
# Laps — light WordPress profiler
|
||||
|
||||
_Make a site, make it fast._
|
||||
|
||||
[](https://scrutinizer-ci.com/g/Rarst/laps/?branch=master)
|
||||
[](https://scrutinizer-ci.com/g/Rarst/laps/build-status/master)
|
||||
[](https://scrutinizer-ci.com/g/Rarst/laps/?branch=master)
|
||||
@@ -8,19 +13,25 @@
|
||||
[](https://github.com/php-pds/skeleton)
|
||||
[](https://www.rarst.net/download/laps)
|
||||
|
||||
_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.
|
||||
|
||||
Laps tracks many events, such as:
|
||||
- PHP, core, plugins, and themes load, main posts loop
|
||||
## Page profiling
|
||||
|
||||
Laps automatically tracks many events, such as:
|
||||
- PHP, core, plugins, and themes load, main posts loop, sidebars
|
||||
- database queries (with [`SAVEQUERIES` constant](http://codex.wordpress.org/Editing_wp-config.php#Save_queries_for_analysis) enabled)
|
||||
- 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.
|
||||
|
||||
Note that REST API requests need nonce to be fully authenticated with cookies and show the information. Alternately `laps_can_see` check can be filtered.
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
| [Composer](https://getcomposer.org/) (recommended) | Release archive |
|
||||
|
||||
Reference in new issue
Block a user