move the printPerformance into utilities