📜  时间函数python代码示例

📅  最后修改于: 2022-03-11 14:46:33.655000             🧑  作者: Mango

代码示例6
Proper answer to timing a loop over a function multiple times
import timeit
timeit.timeit('func_to_time()',globals=globals(),number=1000)