Updated documentation for v2 release.

This commit is contained in:
Andrey Savchenko committed 2018-02-26 10:42:11 +02:00
1 parent 221a902671
commit c874c19c91
3 files changed
+44 -32

No files matched your search

+22
View File
@@ -6,6 +6,28 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Unreleased ## Unreleased
## 2.0 - 2018-02-26
### Added
- unified processing of events from arbitrary sources
- unit tests
- tracking PHP and WP core load times
### Changed
- minimum PHP version requirement to >=5.6
- class files names to PSR–4
- main class into concrete instance and Pimple container
- timeline to unified processing with as necessary nesting
- directory structure to PDS skeleton
- baseline timings to float in seconds (from milliseconds)
- color scheme
### Removed
- Thematic hook events
### Fixed
- handling or not properly started/stopped hook events
## 1.4.4 - 2017-07-05 ## 1.4.4 - 2017-07-05
### Added ### Added
+19 -29
View File
@@ -7,46 +7,36 @@
[![PHP from Packagist](https://img.shields.io/packagist/php-v/rarst/laps.svg)](https://packagist.org/packages/rarst/laps) [![PHP from Packagist](https://img.shields.io/packagist/php-v/rarst/laps.svg)](https://packagist.org/packages/rarst/laps)
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg)](https://github.com/php-pds/skeleton) [![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg)](https://github.com/php-pds/skeleton)
![Laps screenshot](http://i.imgur.com/zFokmkU.png) _Make a site, make it fast._
Laps is light WordPress profiler (in a plugin), which aims to be: ![Laps v2 screenshot](https://i.imgur.com/6n36KPE.png)
- always on and zero click (just hover on toolbar entry) away Laps is a plugin that **shows performance information** about WordPress page load.
- quick indicator of what hogs page in general or right now
It is no match or replacement for *real* profiler, but is friendly and cute. It provides a visual summary in toolbar that is quick and easy to inspect.
Out of the box Laps supports common stage of WordPress page life cycle:
- plugins load
- themes load
- core init
- main loop
And some of third party hooks conventions for themes using:
Laps tracks many events, such as:
- PHP, core, plugins, and themes load
- database queries (with [`SAVEQUERIES` constant](http://codex.wordpress.org/Editing_wp-config.php#Save_queries_for_analysis) enabled)
- network requests to other sites
- main posts loop
- events for supported theme frameworks:
- [Theme Hook Alliance](http://zamoose.github.io/themehookalliance/) - [Theme Hook Alliance](http://zamoose.github.io/themehookalliance/)
- [Hybrid](http://themehybrid.com/) - [Hybrid](http://themehybrid.com/)
- [Genesis](http://my.studiopress.com/themes/genesis/) - [Genesis](http://my.studiopress.com/themes/genesis/)
- events for supported plugins:
There are also additional optional timelines, displaying: - [Yoast SEO](https://wordpress.org/plugins/wordpress-seo/)
- SQL queries (with [`SAVEQUERIES` constant](http://codex.wordpress.org/Editing_wp-config.php#Save_queries_for_analysis) enabled)
- HTTP requests performed
## Installation ## Installation
Download plugin archive from [releases section](https://github.com/Rarst/laps/releases). Require with [Composer](https://getcomposer.org/):
Or install in plugin directory via [Composer](https://getcomposer.org/): ```bash
composer require rarst/laps
```
composer create-project rarst/laps --no-dev Or download plugin archive from [releases section](https://github.com/Rarst/laps/releases).
## License Info ## License
Laps own code is licensed under MIT and it makes use of code from: MIT
- Composer Installers (MIT)
- Symfony Stopwatch (MIT)
- Mustache.php (MIT)
- Twitter Bootstrap (MIT)
+3 -3
View File
@@ -4,9 +4,9 @@
Plugin Name: Laps Plugin Name: Laps
Plugin URI: https://github.com/Rarst/laps Plugin URI: https://github.com/Rarst/laps
Description: Light WordPress profiler. Description: Light WordPress profiler.
Author: Andrey "Rarst" Savchenko Author: Andrey “Rarst” Savchenko
Version: 1.4.4 Version: 2.0
Author URI: http://www.rarst.net/ Author URI: https://www.rarst.net/
Text Domain: laps Text Domain: laps
Domain Path: /lang Domain Path: /lang
License: MIT License: MIT