Commit graph

283 commits

Author SHA1 Message Date
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
d4f13df19e Merge pull request #14 from runcommand/1-focus-scope-two
Better implementation of `--scope=<scope>`
2016-08-24 17:01:47 -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
22106d0186 Merge pull request #12 from runcommand/drop-memory-usage
Drop memory usage from the profiler
2016-08-24 15:11:44 -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
13ef6c6c72 Merge pull request #11 from runcommand/round-four
Round time to four decimal points, instead of 5
2016-08-24 13:35:01 -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
68adce84ee Merge pull request #9 from runcommand/change-license
Change license to GPL-2.0
2016-08-24 13:16:27 -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
b562c537b7 Change license to GPL-2.0 2016-08-24 12:29:12 -07:00
Daniel Bachhuber
b2c4b522c2 Merge pull request #8 from runcommand/total-first
Display the total counts first, as its more useful
2016-08-24 12:24:11 -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
8d93154ef8 Merge pull request #6 from runcommand/use-circle
Use Circle to run test suite
2016-08-24 12:08:21 -07:00
Daniel Bachhuber
3af96ad1d3 Use a Circle badge 2016-08-24 12:05:37 -07:00
Daniel Bachhuber
e830c5e08f Use Circle to run test suite 2016-08-24 11:57:09 -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
0c9b332df7 Add options to README 2016-07-25 08:14:12 -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