profile-command
profile-command copied to clipboard
Quickly identify what's slow with WordPress
When profiling, it would be helpful to see how much data each query was returning in kilobytes or similar. Might be dependent on https://core.trac.wordpress.org/ticket/38760 unless we can monkey patch the...
Our current summary view doesn't immediately point out glaring issues: ``` $ wp profile +------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+ | stage | time | query_time | query_count | cache_ratio | cache_hits | cache_misses |...
It would be cool if it was easy to run the profiler multiple times against a URL to produce an average run time.
## 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/). **Describe...
## 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/). **Describe the current,...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [ ] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the...
See https://github.com/wp-cli/wp-cli/issues/5955
## 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/). **Describe the current,...
Adds a new `wp profile queries` command to display database queries executed during a WordPress request with timing information and optional filtering by hook or callback. ## Changes - **Command.php**:...
Implements `wp profile requests` to display all HTTP requests made during WordPress load, showing method, URL, status code, and execution time for each request. ## Changes **Command.php** - Added `requests()`...