Sidsector9
|
bd0543ccd6
|
GH#36 Corrected argument sequence and updated documentation
|
2017-10-13 12:14:03 +05:30 |
|
Sidsector9
|
7c8a48b74d
|
GH#36 Fixed arguments
|
2017-10-11 14:59:13 +05:30 |
|
Sidsector9
|
70d062deb2
|
GH#36 Fix argument sequence
|
2017-10-11 14:49:42 +05:30 |
|
Sidsector9
|
292a4566f1
|
GH#36 Added feature for eval and file-eval
|
2017-10-11 14:39:22 +05:30 |
|
Sidsector9
|
cb164727b5
|
GH#36 Moved function to correct file
|
2017-10-11 13:27:14 +05:30 |
|
Sidsector9
|
806ea09778
|
GH#36 Changed compare_float() from public to private
|
2017-10-10 19:23:01 +05:30 |
|
Sidsector9
|
d28a0fba2f
|
GH#36 Add sort feature by field type and orderby
|
2017-10-10 18:54:40 +05:30 |
|
Daniel Bachhuber
|
798944b341
|
Include mention that profiling intermediate hooks is broken in PHP7
|
2016-11-15 08:06:31 -08:00 |
|
Daniel Bachhuber
|
fefcc60b0d
|
Use --hook[=<hook>] to profile all hooks, or callbacks to spec hook
|
2016-11-14 06:30:19 -08:00 |
|
Daniel Bachhuber
|
560bbdb0cb
|
Add an inline example for wp profile stage
|
2016-11-03 07:18:24 -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
|
64afe65175
|
Use an explicit flag to indicate when the total should be displayed
|
2016-10-26 06:38:17 -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
|
c95664f0b6
|
Use --spotlight to filter zero-ish results from the set
|
2016-10-26 05:40:34 -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
|
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
|
54ffc02ed5
|
Mention that the hook needs to fire in order to profile it
|
2016-10-12 05:01:32 -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
|
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
|
178e0454b6
|
Use --all to profile callbacks on all hooks
|
2016-10-08 16:18:48 -07:00 |
|
Daniel Bachhuber
|
5f2c0f52cc
|
Keep track of recursion in a more precise manner
|
2016-10-08 16:02:46 -07:00 |
|
Daniel Bachhuber
|
4e6cc627cf
|
Omit <hook> to profile all called hooks
|
2016-10-08 07:27:46 -07:00 |
|
Daniel Bachhuber
|
8af2db1892
|
Fully resolve ABSPATH
|
2016-10-08 07:00:05 -07:00 |
|
Daniel Bachhuber
|
d15f6ac6c9
|
Abstract, to avoid direct manipulation of the global
|
2016-10-08 06:49:28 -07:00 |
|
Daniel Bachhuber
|
8969a5a859
|
Abstract profiler to a dedicated class
|
2016-10-08 06:37:41 -07:00 |
|
Daniel Bachhuber
|
96a386def8
|
WordPress doesn't like this last hook added to shutdown
|
2016-10-08 05:56:25 -07:00 |
|
Daniel Bachhuber
|
e403ef86e0
|
Indicate callback count when profiling a stage
|
2016-10-07 16:18:04 -07:00 |
|
Daniel Bachhuber
|
c5c9179af5
|
Use --all flag to profile all stages
|
2016-10-07 15:45:48 -07:00 |
|
Daniel Bachhuber
|
f0ad855d0a
|
Keep track of filter depth to appropriately handle recursion
|
2016-10-07 15:27:29 -07:00 |
|
Daniel Bachhuber
|
1162a866e4
|
Restore existing callbacks on the next hook
While this is less precise, doing so ensures our callbacks aren't called
twice (because they'll be called twice if they're restored to the
array).
|
2016-10-07 14:57:06 -07:00 |
|
Daniel Bachhuber
|
b352251d80
|
Include callback definition source when profiling hooks
|
2016-10-07 14:20:08 -07:00 |
|
Daniel Bachhuber
|
bf65cfd6f2
|
Don't include 'total' cell when the name column is omitted
|
2016-10-07 13:56:38 -07:00 |
|
Daniel Bachhuber
|
0e9528cdcc
|
Support profiling arbitrary file execution
|
2016-10-04 14:38:12 -07:00 |
|
Daniel Bachhuber
|
8a29fd7e57
|
Support profiling the shutdown hook
|
2016-10-04 14:10:27 -07:00 |
|
Daniel Bachhuber
|
c206a27eea
|
Use wp profile eval to profile arbitrary code execution
|
2016-10-04 12:57:10 -07:00 |
|
Daniel Bachhuber
|
ee16b7982a
|
Trailingslash provided URL to avoid canonical redirect
|
2016-10-04 07:18:01 -07:00 |
|
Daniel Bachhuber
|
87b192afa3
|
Regenerate README for command split
|
2016-10-04 06:49:18 -07:00 |
|
Daniel Bachhuber
|
b22d0f85c7
|
Split wp profile into wp profile stage and wp profile hook
|
2016-10-04 06:47:01 -07:00 |
|
Daniel Bachhuber
|
290b7ff1a0
|
Ensure last callback is extremely late
|
2016-09-28 05:27:58 -07:00 |
|
Daniel Bachhuber
|
b6c5ddb2a5
|
Fix incorrect variable
|
2016-09-28 05:12:54 -07:00 |
|
Daniel Bachhuber
|
59579ccdea
|
Properly handle an unset $wp_filter
|
2016-09-27 08:10:41 -07:00 |
|
Daniel Bachhuber
|
7721de219e
|
Drop method that's no longer used
|
2016-09-27 08:01:12 -07:00 |
|
Daniel Bachhuber
|
e105a5490c
|
Take a more durable approach to timing callbacks by wrapping each
|
2016-09-27 07:58:36 -07:00 |
|