def timer(fxn,args):
	gc.disable()
	t1 = time.time()
	R = fxn(*args)
	t2 = time.time()
	gc.enable()
	return R, (t2-t1)
dataset/ETHPy150Open networkdynamics/zenlib/src/zen/tests/centrality.py/timer/original