Setting the file. One moment.
Subchapter 11.10
references/wp-cli-profile.mdMarkdown858 BView on GitHub
wp profile)Use this when you need actionable profiling without a browser.
Scripts
wp profile comes from a WP-CLI package:
wp package install wp-cli/profile-commandDocs:
wp profile stage --fields=stage,time,cache_ratio [--url=<url>]wp profile hook --spotlight [--url=<url>]wp profile hook init --spotlight [--url=<url>]wp profile eval 'do_action(\"init\");' --hook=initTips:
--url to profile specific site/route behavior.--skip-plugins / --skip-themes to isolate culprit components (careful: behavior changes).