wp profile eval-file <file>
Profile execution of an arbitrary file
Arguments
Name | Description |
---|---|
file | The path to the PHP file to execute and profile |
Options
Name | Description |
---|---|
--hook <hook> | Focus on key metrics for all hooks, or callbacks on a specific hook |
--fields <fields> | Display one or more fields |
--format <format> | Render output in a particular format |
--order <order> | Ascending or descending order |
--orderby <orderby> | Order by fields |