Troubleshooting TTFB for WordPress on Lamp

Change to static hostname paths

changing the path to my MySQL hostname, on wp-config.php, from localhost to 127.0.0.1

WP Plugin Query Monitor

WP Plugin Laps

WP Plugin Debug Bar

with some add-ons(Slow Actions, Rewrite Rules, etc.)

WP Plugin Webgrind

Chexk Autoloaded options

Debug your PHP code with xDebug