profile-command
profile-command copied to clipboard
Introduce `wp profile requests`
It would be helpful to be able to see all requests and how much time they're taking.
@danielbachhuber , can you please elaborate this feature request?
The idea is to create a wp profile requests
command that would minor execution time, etc. for all HTTP requests made during the WordPress load process.
Here's where we're already hooking into the HTTP request process to observe timing:
https://github.com/wp-cli/profile-command/blob/d21d2d915b7c81c2b0cb7e4bb9af1f9cff45f429/inc/class-profiler.php#L115-L116
I think this is going to be beyond my scope :sweat_smile: