Diagnosing a suddenly slow WordPress site

How to find and fix the cause of sudden WordPress performance problems by profiling slow queries, auditing plugins, optimising the database, configuring caching and checking hosting resources.