Diagnose and Optimize Client Performance