Fixing a slow WordPress admin dashboard

How to diagnose and fix a slow WordPress admin dashboard, covering plugin overhead, database bloat, Heartbeat API issues, large content tables, server resources and admin-specific performance problems.