calculate the time of methods

python -m timeit -s "li = range(100)" "li.sort(reverse=True)"
原文地址:https://www.cnblogs.com/otfsenter/p/6540419.html