利用python的timeit库计算程序运行的时长

from timeit
from time  import clock

start = clock()

# 此处填写需要运行的函数

end = clock()

print(end - start)
posted @ 2017-10-23 18:01  bingo彬哥  阅读(498)  评论(0编辑  收藏  举报
本站总访问量