Commit graph

127 commits

Author SHA1 Message Date
Bhargav
8d75d2f913 #156 Fix PHPCS errors/warnings 2019-05-12 22:57:29 +05:30
Bhargav
d101e43756 #156 Fix PHPCS errors/warnings 2019-05-12 12:57:30 +05:30
Alain Schlesser
b3b64a1ab2
Change PHPCS ignore setting to match error name string 2018-09-25 20:16:08 +02:00
Alain Schlesser
c612994363
Fix PHP 7.2 incompatibility 2018-09-25 19:02:51 +02:00
Alain Schlesser
75ec5e78f5
Fix CS issues 2018-09-25 18:49:32 +02:00
Wojciech Smoliński
9f2c26de33 fix 2018-08-11 16:08:35 +02:00
Wojciech Smoliński
922103b2fc fix profile_eval_ish signature 2018-08-11 16:04:46 +02:00
Wojciech Smoliński
5ea583ac35 ignore PHPCompatibility.PHP.ForbiddenGlobalVariableVariable.NonBareVariableFound 2018-08-11 15:53:41 +02:00
Wojciech Smoliński
8d826007d6 $$key to ${$key} 2018-08-11 15:40:31 +02:00
Wojciech Smoliński
3fea0e34a1 more phpcs ignores 2018-08-11 15:33:50 +02:00
Wojciech Smoliński
e4fc94a82f ignore phpcs eval error 2018-08-11 15:17:34 +02:00
Wojciech Smoliński
bac0eef031 phpcs fixes 2018-08-11 15:08:27 +02:00
Wojciech Smoliński
99eea12b19 phpcs 2018-08-10 19:18:48 +02:00
Alain Schlesser
ac6c1c236d
Merge pull request #148 from johnbillion/fix/stage-scope
Fix doc that references global scope
2018-01-15 07:56:39 +01:00
John Blackbourn
493f3f3687 Fix doc that references global scope. 2018-01-13 18:30:11 +00:00
Daniel Bachhuber
97c3449684 Fix location of --format=<format> YAML docs 2017-12-11 05:59:38 -08:00
Sidsector9
cfd2dda008 GH#36 Improvised logic 2017-10-25 08:30:34 +05:30
Sidsector9
697350b10f GH#36 Corrected argument sequence and updated documentation 2017-10-13 12:14:03 +05:30
Sidsector9
5026c92f54 GH#36 Fixed arguments 2017-10-11 14:59:13 +05:30
Sidsector9
0a52e26d2b GH#36 Fix argument sequence 2017-10-11 14:49:42 +05:30
Sidsector9
1eb523e97f GH#36 Added feature for eval and file-eval 2017-10-11 14:39:22 +05:30
Sidsector9
31ccc699b9 GH#36 Moved function to correct file 2017-10-11 13:27:14 +05:30
Sidsector9
a726f3e0ca GH#36 Changed compare_float() from public to private 2017-10-10 19:23:01 +05:30
Sidsector9
6c19ef10c2 GH#36 Add sort feature by field type and orderby 2017-10-10 18:54:40 +05:30
Daniel Bachhuber
dff51fe192 Include mention that profiling intermediate hooks is broken in PHP7 2016-11-15 08:06:31 -08:00
Daniel Bachhuber
16f905b597 Use --hook[=<hook>] to profile all hooks, or callbacks to spec hook 2016-11-14 06:30:19 -08:00
Daniel Bachhuber
0f6dee25b5 Add an inline example for wp profile stage 2016-11-03 07:18:24 -07:00
Daniel Bachhuber
e74a9487d9 Support for profiling wp_loaded:after 2016-10-26 06:54:43 -07:00
Daniel Bachhuber
0ca0cf77a0 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
60ae6e4490 Use an explicit flag to indicate when the total should be displayed 2016-10-26 06:38:17 -07:00
Daniel Bachhuber
c295a28ea1 Ensure tick_callback is nullified when ignoring a callback 2016-10-26 06:29:07 -07:00
Daniel Bachhuber
2b57115c55 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
4aef374308 Use --spotlight to filter zero-ish results from the set 2016-10-26 05:40:34 -07:00
Daniel Bachhuber
b9ea658b7e Disable opcode cache when using register_tick_function() 2016-10-19 18:14:28 -07:00
Daniel Bachhuber
922bab3f77 Merge pull request #104 from runcommand/clarify-fiels
Clarify the `--fields` argument
2016-10-19 05:49:37 -07:00
Daniel Bachhuber
75bb6f6c50 Clarify the --fields argument 2016-10-19 05:27:31 -07:00
Daniel Bachhuber
8ef779f8cd Start profiling right away when profiling muplugins_loaded:before 2016-10-19 04:56:53 -07:00
Daniel Bachhuber
d07b98046d Mention that the hook needs to fire in order to profile it 2016-10-12 05:01:32 -07:00
Daniel Bachhuber
040a9fa7b3 Shorten the code location at the point of rendering the loggers 2016-10-09 16:15:16 -07:00
Daniel Bachhuber
76fb50b5c1 Use more precise hooks for profiling intermediate stages 2016-10-09 15:43:02 -07:00
Daniel Bachhuber
870b947fd2 Reset tick callback after we've completed profiling 2016-10-09 10:45:38 -07:00
Daniel Bachhuber
7729a11118 First pass at profiling intermediate stages 2016-10-09 10:33:48 -07:00
Daniel Bachhuber
49f9159ff2 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
a553050462 Use --all to profile callbacks on all hooks 2016-10-08 16:18:48 -07:00
Daniel Bachhuber
35390961eb Keep track of recursion in a more precise manner 2016-10-08 16:02:46 -07:00
Daniel Bachhuber
828f7d618e Omit <hook> to profile all called hooks 2016-10-08 07:27:46 -07:00
Daniel Bachhuber
da5e2e1b25 Fully resolve ABSPATH 2016-10-08 07:00:05 -07:00
Daniel Bachhuber
4256195368 Abstract, to avoid direct manipulation of the global 2016-10-08 06:49:28 -07:00
Daniel Bachhuber
2ea5138f08 Abstract profiler to a dedicated class 2016-10-08 06:37:41 -07:00
Daniel Bachhuber
ff802e8de9 WordPress doesn't like this last hook added to shutdown 2016-10-08 05:56:25 -07:00