看看timeit,python profiler和pycallgraph。 ... pip install benchmarkit from benchmarkit import benchmark, benchmark_run N = 10000 seq_list = list(range(N)) ...
確定! 回上一頁