Updated the view performance function to output the performance per topic