Added benchmarking for ToGraph on different graphs