{"repo":"wp-cli/profile-command","free":true,"listed":false,"github":"https://github.com/wp-cli/profile-command","clone":"git clone https://github.com/wp-cli/profile-command.git","description":"Quickly identify what's slow with WordPress","language":"PHP","stars":293,"topics":["wp-cli","wp-cli-package","wordpress","cli","profile","performance","bottleneck","measure","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"wp-cli/profile-command ====================== Quickly identify what's slow with WordPress. Quick links: Overview Using Installing Contributing Overview wp profile monitors key performance indicators of the WordPress execution process to help you quickly identify points of slowness. Save hours diagnosing slow WordPress sites. Because you can easily run it on any server that supports WP-CLI, wp profile compliments Xdebug and New Relic by pointing you in the right direction for further debugging. Because it runs on the command line, using wp profile means you don't have to install a plugin and deal with the painful dashboard of a slow WordPress site. Identify why WordPress is slow in just a few steps with wp profile . Using This package implements the following commands: wp profile stage Profile each stage of the WordPress load process (bootstrap, main query, template). wp profile stage [ ] [--all] [--spotlight] [--url= ] [--fields= ] [--format= ] [--order= ] [--orderby= ] When WordPress handles a request from a browser, it’s essentially executing as one long PHP script. wp profile stage breaks the script into three stages: bootstrap is where WordPress is setting itself up, loading plugins and the main theme, and firing the init hook. main query is how WordPress transforms the request (e.g. /2016/10/21/moms-birthday/ ) into the primary WP Query. template is where WordPress determines which theme template to render based on the main query, and renders it. OPTIONS [ ] Drill down i","default_branch":null,"files":null,"tree":[],"storefront":"/r/wp-cli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wp-cli/profile-command/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}