prints out time taken for operations