An easy-to-use automatic performance diagnosis and optimization tool for HPC applications