added time measurement and input graph persistence option