Added code to grab average time taken for performance tests