結果 : calculate time to run a function python