MainWP Blog

wp profile - WP CLI Command
MainWP How To's
Sebastian Moran

Why Use the wp profile WP-CLI Command?

What is the wp profile Command in WP-CLI? wp profile command is designed for finding where and what is slowing a site down. As with any performance benchmarking, multiple runs will need to be used. Start by running the common commands for wp profile multiple times. This will help you find what is causing WordPress to load slowly on a site. wp profile stage This command will output a number of options in the table. They are broken down as: bootstrap is where WordPress is setting itself up, loading plugins and the main theme, and firing the init hook. main_query

Looking for something?