Updated documentation for v2 release.
This commit is contained in:
1 parent
221a902671
commit
c874c19c91
3 files changed
+44
-32
No files matched your search
@@ -6,6 +6,28 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## 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
|
||||
|
||||
### Added
|
||||
|
||||
@@ -7,46 +7,36 @@
|
||||
[](https://packagist.org/packages/rarst/laps)
|
||||
[](https://github.com/php-pds/skeleton)
|
||||
|
||||

|
||||
_Make a site, make it fast._
|
||||
|
||||
Laps is light WordPress profiler (in a plugin), which aims to be:
|
||||

|
||||
|
||||
- always on and zero click (just hover on toolbar entry) away
|
||||
- quick indicator of what hogs page in general or right now
|
||||
Laps is a plugin that **shows performance information** about WordPress page load.
|
||||
|
||||
It is no match or replacement for *real* profiler, but is friendly and cute.
|
||||
|
||||
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:
|
||||
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
|
||||
- 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/)
|
||||
- [Hybrid](http://themehybrid.com/)
|
||||
- [Genesis](http://my.studiopress.com/themes/genesis/)
|
||||
|
||||
There are also additional optional timelines, displaying:
|
||||
|
||||
- SQL queries (with [`SAVEQUERIES` constant](http://codex.wordpress.org/Editing_wp-config.php#Save_queries_for_analysis) enabled)
|
||||
- HTTP requests performed
|
||||
- events for supported plugins:
|
||||
- [Yoast SEO](https://wordpress.org/plugins/wordpress-seo/)
|
||||
|
||||
## 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:
|
||||
|
||||
- Composer Installers (MIT)
|
||||
- Symfony Stopwatch (MIT)
|
||||
- Mustache.php (MIT)
|
||||
- Twitter Bootstrap (MIT)
|
||||
MIT
|
||||
@@ -4,9 +4,9 @@
|
||||
Plugin Name: Laps
|
||||
Plugin URI: https://github.com/Rarst/laps
|
||||
Description: Light WordPress profiler.
|
||||
Author: Andrey "Rarst" Savchenko
|
||||
Version: 1.4.4
|
||||
Author URI: http://www.rarst.net/
|
||||
Author: Andrey “Rarst” Savchenko
|
||||
Version: 2.0
|
||||
Author URI: https://www.rarst.net/
|
||||
Text Domain: laps
|
||||
Domain Path: /lang
|
||||
License: MIT
|
||||
|
||||
Reference in new issue
Block a user