update benchmark method to generate CSV output