Daniel Bachhuber
|
091e94b53e
|
Count all hook calls, regardless of whether we're in a current hook
|
2016-08-26 09:06:49 -07:00 |
|
Daniel Bachhuber
|
d39fcd2f3c
|
Create a smaller chart by collapsing fields
|
2016-08-26 08:46:22 -07:00 |
|
Daniel Bachhuber
|
2b5a3c6097
|
Log request count and time
|
2016-08-26 08:26:42 -07:00 |
|
Daniel Bachhuber
|
6beb5a6873
|
Fix calculated hook time
The timer shouldn't be started and stopped as we go deeper into hooks
|
2016-08-26 08:08:51 -07:00 |
|
Daniel Bachhuber
|
db8021de21
|
Increment hook counter when timer starts
|
2016-08-26 07:43:04 -07:00 |
|
Daniel Bachhuber
|
0a80dec7da
|
Introduce a new Logger class for more sane logging
|
2016-08-26 07:42:05 -07:00 |
|
Daniel Bachhuber
|
231a52933d
|
Consolidate calls to the formatter
|
2016-08-26 07:05:20 -07:00 |
|
Daniel Bachhuber
|
0303ae9b0a
|
Use table footer for totals; pretty format seconds in the table
|
2016-08-26 06:57:19 -07:00 |
|
Daniel Bachhuber
|
a3e8fbc821
|
Introduce our own formatter, so we can implement custom tables
|
2016-08-26 06:39:30 -07:00 |
|
Daniel Bachhuber
|
a5552151ba
|
Namespace the command class
|
2016-08-26 06:13:19 -07:00 |
|
Daniel Bachhuber
|
125404c107
|
Better place to put the Exception handling
|
2016-08-25 07:19:16 -07:00 |
|
Daniel Bachhuber
|
f3d992c097
|
Throw an exception, because there's no way we can restore the hooks
|
2016-08-25 07:17:47 -07:00 |
|
Daniel Bachhuber
|
21ea410304
|
Abstract to a dedicated helper method
|
2016-08-25 07:13:40 -07:00 |
|
Daniel Bachhuber
|
f04d48bfb7
|
First pass at profiling hook execution
|
2016-08-25 07:00:39 -07:00 |
|
Daniel Bachhuber
|
87a3cb794c
|
Better implementation of --scope=<scope>
Less information is more
|
2016-08-24 16:57:37 -07:00 |
|
Daniel Bachhuber
|
f7d76cc3e0
|
Regenerate display chart
|
2016-08-24 15:17:30 -07:00 |
|
Daniel Bachhuber
|
688db2e248
|
Drop memory usage from the profiler
As it turns out, this isn't very helpful. Everyone has access to
infinite memory now.
|
2016-08-24 15:09:00 -07:00 |
|
Daniel Bachhuber
|
558d151e23
|
Round time to four decimal points, instead of 5
5 is too many
|
2016-08-24 13:33:12 -07:00 |
|
Daniel Bachhuber
|
707a83160f
|
Merge pull request #7 from runcommand/use-wp-cli-hook
Use WP-CLI's helpers for registering new hooks and filters
|
2016-08-24 12:30:09 -07:00 |
|
Daniel Bachhuber
|
b6fb0ee2ca
|
Display the total counts first, as its more useful
|
2016-08-24 12:16:02 -07:00 |
|
Daniel Bachhuber
|
5f9359efda
|
Use WP-CLI's helpers for registering new hooks and filters
|
2016-08-24 12:13:33 -07:00 |
|
Daniel Bachhuber
|
b96a67b12d
|
Mention what's going on here
|
2016-07-25 11:16:32 -07:00 |
|
Daniel Bachhuber
|
d5f41c5332
|
Remove unused variables
|
2016-07-25 11:16:26 -07:00 |
|
Daniel Bachhuber
|
2197b5618c
|
Put the total at the bottom, as most users expect
|
2016-07-25 11:11:08 -07:00 |
|
Daniel Bachhuber
|
f43fff7801
|
Produce a more comprehensive summary
|
2016-07-25 10:17:10 -07:00 |
|
Daniel Bachhuber
|
8e8d79fff1
|
Tighten the description a bit
|
2016-07-25 08:58:11 -07:00 |
|
Daniel Bachhuber
|
4465ffc99d
|
Count the number of hooks with total hook execution time
|
2016-07-25 08:46:58 -07:00 |
|
Daniel Bachhuber
|
ee96b0e74a
|
These are all totals
|
2016-07-25 08:30:00 -07:00 |
|
Daniel Bachhuber
|
5b34ff5006
|
Calculate total queries
|
2016-07-25 08:10:43 -07:00 |
|
Daniel Bachhuber
|
9f44597972
|
Put a space between the value and the unit
|
2016-07-25 08:01:05 -07:00 |
|
Daniel Bachhuber
|
45dcc1a79e
|
Formatting args
|
2016-07-25 08:00:59 -07:00 |
|
Daniel Bachhuber
|
1b5834378e
|
First pass: total execution time and memory usage
|
2016-07-25 07:59:37 -07:00 |
|
Daniel Bachhuber
|
717ea43c89
|
Initial commit
|
2016-07-25 07:36:55 -07:00 |
|