function for looking at performance by problem