Added statements to calculate graph creation time