Commit Graph
134 Commits
Author SHA1 Message Date
Andrey Savchenko 78cbb85de8 Adjusted ignoring edge of hook event to empty string. 2018-12-14 16:04:34 +02:00
Andrey Savchenko c23531e890 Added new format of hook events.
Fixes #27
2018-12-13 17:24:40 +02:00
Andrey Savchenko 70de78b276 Added psalm configuration and refined source. 2018-11-30 18:15:38 +02:00
Andrey Savchenko 4013046e4f Added return types to closures. 2018-11-30 15:05:54 +02:00
Andrey Savchenko 204c1df755 Raised PHP requirement to 7.1 and updated types.
Fixes #25
2018-11-30 13:58:53 +02:00
Andrey Savchenko 9fee649a64 Adjusted how drive letter is trimmed and improved test. 2018-11-13 17:49:29 +02:00
Andrey Savchenko a2d92585ac Changed separator to horizontal line for legibility. 2018-11-13 16:38:15 +02:00
Andrey Savchenko e4af00b43e Adjusted paths to truncate for better order and drive–relative paths. 2018-11-13 16:37:33 +02:00
Andrey Savchenko 1f85d65b9b Added backtraces to SQL record descriptions. 2018-03-13 18:46:04 +02:00
Andrey Savchenko 1e3195ffc8 Implemented includes shortening in backtrace. 2018-03-12 22:44:01 +02:00
Andrey Savchenko 30db67c055 Added backtrace formatter class. 2018-03-09 22:07:06 +02:00
Andrey Savchenko 79ed1ffcfd Moved SQL data processing to a separate method. 2018-03-08 18:28:17 +02:00
Andrey Savchenko 6818236f83 Moved toolbar hook to later priority to capture more of other actions. 2018-03-07 18:41:24 +02:00
Andrey Savchenko b837508181 Updated event colors. 2018-02-23 16:28:55 +02:00
Andrey Savchenko d92a778d10 Adjusted structure for PDS skeleton. 2018-02-23 15:32:18 +02:00
Andrey Savchenko 4238509861 Added PHP and core load collector. 2018-02-23 15:12:29 +02:00
Andrey Savchenko e74777c2a9 Added generic constructor–centric record class. 2018-02-23 14:40:45 +02:00
Andrey Savchenko 7cc65ca1a2 Fixed stacking of events that are just very close to each other. 2018-02-22 18:01:46 +02:00
Andrey Savchenko 1e75033f25 Normalized on operating in float seconds rather than milliseconds. 2018-02-22 13:14:15 +02:00
Andrey Savchenko 61dd387484 Added SQL and iterators tests. 2018-02-21 16:12:34 +02:00
Andrey Savchenko 420305143b Added generic stopwatch collector and tests. 2018-02-20 18:09:44 +02:00
Andrey Savchenko 8cd280f12a Added inline documentation. 2018-02-14 17:54:28 +02:00
Andrey Savchenko d850fa1b02 Renamed main class to Plugin for more clear role. 2018-02-13 18:22:35 +02:00
Andrey Savchenko a19e4fb019 Moved timeline iterator to record namespace. 2018-02-13 18:18:36 +02:00
Andrey Savchenko 53efcd28af Added keys to collectors array. 2018-02-13 18:16:41 +02:00
Andrey Savchenko c74051e87d Adjusted hook events for a simpler interface and wrapped in a provider. 2018-02-13 17:26:41 +02:00
Andrey Savchenko 06e3bb4657 Added proper providers to handle registration and boot. 2018-02-13 11:37:54 +02:00
Andrey Savchenko 48b3383e06 Introduced explicit record interface for event results. 2018-02-12 18:30:00 +02:00
Andrey Savchenko ce7cf8eade Reorganized code to designate events as input and records as results. 2018-02-12 17:12:58 +02:00
Andrey Savchenko 67d686f601 Split functionality from container to manager classes. 2018-02-12 17:02:17 +02:00
Andrey Savchenko 2c074c1cea Simplified processing nested events to a single pass. 2018-02-12 15:53:40 +02:00
Andrey Savchenko a9484ed4ee Added timeline iterator for automatic splitting of nested events. 2018-02-09 18:47:13 +02:00
Andrey Savchenko bee765071b Implemented initial handling of arbitrary nesting events.
See #11
2018-02-09 15:15:23 +02:00
Andrey Savchenko 36e0d14c48 Fixed empty timelines filter. 2018-02-08 19:11:14 +02:00
Andrey Savchenko 228ea99b43 Dropped any events that aren't properly stopped. 2018-02-08 19:10:57 +02:00
Andrey Savchenko 79e197c4cc Moved another leftover action. 2018-02-08 18:36:31 +02:00
Andrey Savchenko 8396888ee2 Moved leftover event stop to the provider. 2018-02-08 18:10:01 +02:00
Andrey Savchenko d8febfeb3a Moved SQL events to a provider and simplified template. 2018-02-08 18:08:01 +02:00
Andrey Savchenko 31b80d0413 Adjusted from returning raw Stopwatch event objects from providers. 2018-02-08 17:07:35 +02:00
Andrey Savchenko c93249875b Changed Stopwatch service to a factory. 2018-02-08 16:20:30 +02:00
Andrey Savchenko 054bf2e0df Moved HTTP requests events to a provider. 2018-02-08 16:08:39 +02:00
Andrey Savchenko 267f389a40 Moved hooks events to a provider. 2018-02-08 15:00:57 +02:00
Andrey Savchenko 39f03e02bf Added provider interfaces. 2018-02-08 14:58:43 +02:00
Andrey Savchenko 6fc8a648ad Made main class into Pimple container. 2018-02-08 14:29:10 +02:00
Andrey Savchenko b709f968f9 Moved events classes. 2018-02-08 10:57:20 +02:00
Andrey Savchenko c966fb1552 Dropped Thematic events as the theme is obsolete. 2018-02-07 22:55:51 +02:00
Andrey Savchenko 62ea1f4246 Changed main class to concrete instance. 2018-02-07 22:08:41 +02:00
Andrey Savchenko a77dd9e4c8 Renamed class files for PSR-4. 2018-02-07 21:53:22 +02:00
Andrey Savchenko d2bece68e5 Added sanity check for invalid priority returned by core
Fixes #9
2017-06-28 14:25:45 +03:00
Andrey Savchenko 68302633c0 Restored functionality on WP 4.7 beta with new current_priority() method. 2016-12-02 19:18:41 +02:00