Commit graph

17 commits

Author SHA1 Message Date
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