calculating the time taken for creating the relationships