Commit graph

225 commits

Author SHA1 Message Date
Daniel Bachhuber
afec43f4d2 Add a v0.3.0 shield 2016-11-03 07:00:07 -07:00
Daniel Bachhuber
aee96cfe85 Profiles _responses_, not the requests themselves 2016-11-03 06:57:32 -07:00
Daniel Bachhuber
0375ce8be3 Merge pull request #119 from runcommand/36-identify
Move overview of how to use `wp profile` to an excerpt
2016-11-03 06:19:50 -07:00
Daniel Bachhuber
41941961b6 Link to this directly 2016-11-03 06:02:14 -07:00
Daniel Bachhuber
2fa3067012 Move overview of how to use wp profile to an excerpt 2016-11-03 05:58:27 -07:00
Daniel Bachhuber
fea0e042c8 Merge pull request #118 from runcommand/drop-version
Drop version from composer.json
2016-11-02 12:17:34 -07:00
Daniel Bachhuber
3f01f31955 Drop version from composer.json
WP-CLI doesn't like it right now.
2016-11-02 10:36:27 -07:00
Daniel Bachhuber
f55bd987e3 Merge pull request #117 from runcommand/36-readme-excerpts
Retool readme with link to new excerpt
2016-11-02 06:11:07 -07:00
Daniel Bachhuber
bb91a30283 Retool readme with link to new excerpt 2016-11-01 06:58:33 -07:00
Daniel Bachhuber
8de4608968 Merge pull request #116 from runcommand/premium-badge
Add a runcommand premium badge
2016-10-31 11:05:35 -07:00
Daniel Bachhuber
d70bda17e0 Add a runcommand premium badge 2016-10-31 10:55:01 -07:00
Daniel Bachhuber
1a6b73bacc Merge pull request #115 from runcommand/bump-0-3-0-beta
Bump version to 0.3.0-beta
2016-10-31 09:53:09 -07:00
Daniel Bachhuber
962832a968 Merge pull request #114 from runcommand/36-update-readme
Update README with more relevant examples
2016-10-31 09:42:38 -07:00
Daniel Bachhuber
1d0c267201 Bump version to 0.3.0-beta 2016-10-31 09:33:46 -07:00
Daniel Bachhuber
2d3ffc00ad Change the order 2016-10-31 06:49:51 -07:00
Daniel Bachhuber
c492da1fd1 Update README with more relevant examples 2016-10-31 06:47:15 -07:00
Daniel Bachhuber
5a0e23525a Merge pull request #112 from runcommand/license
Add license to the project root
2016-10-31 06:23:18 -07:00
Daniel Bachhuber
97e092a46a Add license to the project root 2016-10-31 06:11:24 -07:00
Daniel Bachhuber
59fa8a43ca Merge pull request #111 from runcommand/15-profile-after
Support for profiling `wp_loaded:after`
2016-10-26 07:04:35 -07:00
Daniel Bachhuber
bb64f248f9 Support for profiling wp_loaded:after 2016-10-26 06:54:43 -07:00
Daniel Bachhuber
c2268124f4 Merge pull request #109 from runcommand/round-time-no-name-column
Ensure time is rounded when there's no name column present
2016-10-26 06:53:55 -07:00
Daniel Bachhuber
146d553729 Merge pull request #110 from runcommand/ensure-null
Ensure `tick_callback` is nullified when ignoring a callback
2016-10-26 06:39:47 -07:00
Daniel Bachhuber
64afe65175 Use an explicit flag to indicate when the total should be displayed 2016-10-26 06:38:17 -07:00
Daniel Bachhuber
b9dfb4d67c Ignore total time in this tests, which is going to be variable 2016-10-26 06:31:35 -07:00
Daniel Bachhuber
d6f4fc28f2 Ensure tick_callback is nullified when ignoring a callback 2016-10-26 06:29:07 -07:00
Daniel Bachhuber
199b515b73 Ensure time is rounded when there's no name column present
Also drops the total footer when there's only one item displayed
2016-10-26 06:17:12 -07:00
Daniel Bachhuber
6beadf3aa9 Merge pull request #108 from runcommand/13-spotlight
Use `--spotlight` to filter zero-ish results from the set
2016-10-26 06:10:28 -07:00
Daniel Bachhuber
e65473afd7 Assert --spotlight as an available flag 2016-10-26 05:54:26 -07:00
Daniel Bachhuber
c95664f0b6 Use --spotlight to filter zero-ish results from the set 2016-10-26 05:40:34 -07:00
Daniel Bachhuber
8a096e82c4 Merge pull request #107 from runcommand/danielbachhuber-patch-1
Use "type": "wp-cli-package" to designate this as a WP-CLI package
2016-10-20 07:31:03 -07:00
Daniel Bachhuber
106696e83a Use "type": "wp-cli-package" to designate this as a WP-CLI package 2016-10-20 06:41:39 -07:00
Daniel Bachhuber
52097094d1 Merge pull request #106 from runcommand/15-disable-opcode-cach
Disable opcode cache when using `register_tick_function()`
2016-10-19 19:11:15 -07:00
Daniel Bachhuber
85d1c1debf Disable opcode cache when using register_tick_function() 2016-10-19 18:14:28 -07:00
Daniel Bachhuber
8ac705fc1c Merge pull request #104 from runcommand/clarify-fiels
Clarify the `--fields` argument
2016-10-19 05:49:37 -07:00
Daniel Bachhuber
35e0c8f9eb Merge pull request #103 from runcommand/50-profile-mu-plugins
Start profiling right away when profiling `muplugins_loaded:before`
2016-10-19 05:29:14 -07:00
Daniel Bachhuber
20c3b66323 Clarify the --fields argument 2016-10-19 05:27:31 -07:00
Daniel Bachhuber
6a2052244a Start profiling right away when profiling muplugins_loaded:before 2016-10-19 04:56:53 -07:00
Daniel Bachhuber
b60edfa0d8 Failing test case for profiling muplugins_loaded:before 2016-10-19 04:54:58 -07:00
Daniel Bachhuber
16ddb3c3dc Merge pull request #102 from runcommand/mention-hook-execution
Mention that the hook needs to fire in order to profile it
2016-10-12 05:40:58 -07:00
Daniel Bachhuber
54ffc02ed5 Mention that the hook needs to fire in order to profile it 2016-10-12 05:01:32 -07:00
Daniel Bachhuber
0c3d0c0e1a Merge pull request #101 from runcommand/regenerate-readme
Regenerate readme from command docs
2016-10-10 15:53:36 -07:00
Daniel Bachhuber
68abb35768 Regenerate readme from command docs 2016-10-10 15:05:40 -07:00
Daniel Bachhuber
0a9d002afe Merge pull request #100 from runcommand/15-profile-intermediate
Support for profiling intermediate stages
2016-10-09 16:24:28 -07:00
Daniel Bachhuber
0989767e2e Shorten the code location at the point of rendering the loggers 2016-10-09 16:15:16 -07:00
Daniel Bachhuber
0a365862d3 Use more precise hooks for profiling intermediate stages 2016-10-09 15:43:02 -07:00
Daniel Bachhuber
e6a05be838 Reset tick callback after we've completed profiling 2016-10-09 10:45:38 -07:00
Daniel Bachhuber
7bb69131f2 First pass at profiling intermediate stages 2016-10-09 10:33:48 -07:00
Daniel Bachhuber
569e107293 Merge pull request #99 from runcommand/15-name-intermediate
Put names to the intermediate stages
2016-10-09 09:24:49 -07:00
Daniel Bachhuber
944696431a Put names to the intermediate stages
For the most part, it's `<hook>:before`, except when it's the last hook
in the sequence.
2016-10-09 09:05:27 -07:00
Daniel Bachhuber
0677fffbaf Merge pull request #98 from runcommand/23-all-flag
Use `--all` to profile callbacks on all hooks
2016-10-08 17:24:37 -07:00