query-monitor icon indicating copy to clipboard operation
query-monitor copied to clipboard

Add time on running hooks

Open Mte90 opened this issue 7 years ago • 5 comments

There is the table of hooks that show everything functions but not show how much time required on running.

Mte90 avatar Jul 04 '17 18:07 Mte90

This is something I'm actively working on. I'm going to add not only the time for each hook, but the time for each callback on each hook, which is a much more useful metric.

johnbillion avatar Aug 22 '17 10:08 johnbillion

Any updates on this one? I had an issue where the firewall would deny a request to https://server/wp-cron.php originating from the server itself, so every minute, the site hung for 10 seconds until the request timed out... Seeing how much time was spent in each action would have saved me two days of hacking my way though the PHP jungle :-)

digulla avatar May 06 '19 13:05 digulla

@johnbillion is this something your still planning on doing as I'm considering making an extension for this if not.

Thanks :)

pcfreak30 avatar Nov 22 '19 23:11 pcfreak30

@pcfreak30 It's in my TODO list but unfortunately I don't have the time to actively work on this right now. If you want to create an extension that would be great!

johnbillion avatar Nov 23 '19 12:11 johnbillion

@johnbillion ended up taking my own approach/crack at this which sort of involves making an alternative/sort-of competitor to query monitor but in a very different way :P.

Project: https://github.com/WPProfiler/core

pcfreak30 avatar Dec 15 '19 22:12 pcfreak30