I found some great material on how to profile the WordPress core using the
wp-cli, but nothing on how to install the profile plugin…
wp package install https://github.com/wp-cli/profile-command.git
Then you can profile your site following the excellent guide written by the maintainer of the wp-cli:
This tag group hopefully will be a collection of tips to make a secure WordPress installation, using the best practices that I have seen over the years of using PHP web applications.
Hopefully, this will be a helpful resource to the online community.