profile-command
profile-command copied to clipboard
Quickly identify what's slow with WordPress
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). ```Warning: count(): Parameter...
because the length is already calculated / formatted correctly but is very unhandy to check/read while numbers are left-aligned like here: ``` root@test-server ~ # sudo -u www-data -s --...
It would be helpful to be able to see all requests and how much time they're taking.
It would be helpful to be able to see all queries and how much time they're taking. Also make it possible to show actual queries for (a) a specific callback...
We can overload the `$wp_object_cache` global with our own object in order to monitor which cache keys are being fetched and written. We could also introduce a `--cache` flag or...
If you don't want all of the verbosity, but only the outliers, it would be nice to have a flag for it. > coreymaass [8:19 AM] @daniel using profile on...
It would be cool if you could use `--plugin` to get a table of plugin resource usage.
We'd save ourselves some horizontal space if we could collapse these into multi-line headings: 
It could be something like `--benchmark=` to load the benchmark numbers. The benchmark numbers could exported by saving output `wp profile --format=json > benchmark.json`
> Ability to search by specific callback names. For example: show all FacetWP-related callbacks by searching for FWP().* > > Among other things, it'd give a better picture of a...