Add function for plotting perf curves