wp profile stage <stage>

Profile each stage of the WordPress load process (bootstrap, main_query, template)

Arguments

NameDescription
stageDrill down into a specific stage

Options

NameDescription
--allExpand upon all stages
--spotlightFilter out logs with zero-ish values from the set
--url <url>Execute a request against a specified URL. Defaults to the home URL
--fields <fields>Limit the output to specific fields. Default is all fields
--format <format>Render output in a particular format
--order <order>Ascending or descending order
--orderby <orderby>Order by fields