generate the performance figure for solving KKT.