The Tools You Need to Debug WordPress Performance Issues.
Debugging a complex application such as WordPress isn't an easy task. Here are some must-have tools to help you solve performance issues.
PHP profilers are tools that work at the PHP level to analyze the performance of your application and find bottlenecks inside your code.
It makes it very simple to locate any bottleneck problem in your themes or plugins in order to solve it and speed up your website.
Those plugins work at the WordPress API level and offer different types of debugging and monitoring features.
Most recent browsers include a developer tools section with a "Network" tab that shows the time it takes to load JS code and CSS style sheets.
CTRL + Shift + i
CTRL + Shift + e
Errors too can slow down your site. Fortunately, WordPress includes two features to display them:
define('WP_DEBUG', false);
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);