Commit graph

73 commits

Author SHA1 Message Date
Daniel Bachhuber
8b38dfb70c Accurately display total percentages 2016-08-26 15:20:46 -07:00
Daniel Bachhuber
fe0be6a938 Array values no longer exist 2016-08-26 15:00:42 -07:00
Daniel Bachhuber
80ccac7690 Display cache ratio first 2016-08-26 14:58:37 -07:00
Daniel Bachhuber
3697235ff7 Don't render a cache ratio when there were no hits or misses 2016-08-26 14:58:14 -07:00
Daniel Bachhuber
ebe058c208 Merge pull request #35 from runcommand/break-apart-fields
Break apart logger headers
2016-08-26 14:23:17 -07:00
Daniel Bachhuber
e8e12e89ee Break apart logger headers 2016-08-26 13:19:09 -07:00
Daniel Bachhuber
8962e33eab Merge pull request #34 from runcommand/collapse-execution-time
Collapse the `execution_time` heading
2016-08-26 13:04:05 -07:00
Daniel Bachhuber
8399c7e693 Collapse the execution_time heading 2016-08-26 13:00:32 -07:00
Daniel Bachhuber
2536ff615f Merge pull request #33 from runcommand/convert-hooks-logger
Convert hooks to use the logger
2016-08-26 09:59:53 -07:00
Daniel Bachhuber
edfd132903 Convert hooks to use the logger 2016-08-26 09:57:28 -07:00
Daniel Bachhuber
7749252832 Merge pull request #32 from runcommand/scope-hooks-main-query
Set some scope hooks for the main query
2016-08-26 09:46:05 -07:00
Daniel Bachhuber
08f9141fb9 Set some scope hooks for the main query 2016-08-26 09:41:12 -07:00
Daniel Bachhuber
a2335c2908 Make sure this logger is started 2016-08-26 09:37:41 -07:00
Daniel Bachhuber
35f137cc8d Merge pull request #31 from runcommand/convert-scope-logger
Convert scopes to logger format
2016-08-26 09:34:29 -07:00
Daniel Bachhuber
896c8b8aa7 Merge pull request #30 from runcommand/fix-cache-hit-miss
Fix cache hit / miss ratio
2016-08-26 09:34:04 -07:00
Daniel Bachhuber
072f698d02 Set up the pseudo hooks too 2016-08-26 09:32:14 -07:00
Daniel Bachhuber
68d3dc4c02 Merge pull request #29 from runcommand/hook-count
Count all hook calls, regardless of whether we're in a current hook
2016-08-26 09:21:48 -07:00
Daniel Bachhuber
6de9d33afc Fix cache hit / miss ratio 2016-08-26 09:20:40 -07:00
Daniel Bachhuber
8b3db40422 First pass at converting scopes to logger format 2016-08-26 09:20:19 -07:00
Daniel Bachhuber
1e26b49181 Merge pull request #28 from runcommand/15-cache-hit-miss
Capture cache hit / miss ratio
2016-08-26 09:07:07 -07:00
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
f85d1c71dc Percentages for the cache ratio 2016-08-26 09:04:20 -07:00
Daniel Bachhuber
707f2fb688 Capture cache hit / miss ratio 2016-08-26 09:00:11 -07:00
Daniel Bachhuber
664364aac7 Merge pull request #27 from runcommand/smaller-chart
Create a smaller chart by collapsing fields
2016-08-26 08:49:12 -07:00
Daniel Bachhuber
d39fcd2f3c Create a smaller chart by collapsing fields 2016-08-26 08:46:22 -07:00
Daniel Bachhuber
088a6eb870 Merge pull request #26 from runcommand/2-count-remote-requests
Log request count and time
2016-08-26 08:28:32 -07:00
Daniel Bachhuber
2b5a3c6097 Log request count and time 2016-08-26 08:26:42 -07:00
Daniel Bachhuber
5e84ef9022 Merge pull request #24 from runcommand/fix-hook-time
Fix calculated hook time
2016-08-26 08:11:33 -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
54cc54beb4 Merge pull request #23 from runcommand/introduce-logger
Introduce a new Logger class for more sane logging
2016-08-26 07:51:28 -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
18fedabd01 Merge pull request #22 from runcommand/consolidate
Consolidate calls to the formatter
2016-08-26 07:08:21 -07:00
Daniel Bachhuber
231a52933d Consolidate calls to the formatter 2016-08-26 07:05:20 -07:00
Daniel Bachhuber
9a7cd282ba Merge pull request #21 from runcommand/total-in-table
Use table footer for totals; pretty format seconds in the table
2016-08-26 07:00:42 -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
9893074687 Merge pull request #20 from runcommand/namespace-class
Namespace the command class
2016-08-26 06:17:34 -07:00
Daniel Bachhuber
a5552151ba Namespace the command class 2016-08-26 06:13:19 -07:00
Daniel Bachhuber
8fbcff519c Merge pull request #17 from runcommand/profile-hook
Profile hook execution
2016-08-25 07:24:33 -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
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