Graph loading performance improvement