抄自 https://www.cnblogs.com/pyramid1001/p/6638654.html
cProfile模块
如果想知道每个函数消耗的多少时间,以及每个函数执行了多少次,可以用CProfile模块。
1 |
|
抄自 https://www.cnblogs.com/pyramid1001/p/6638654.html
cProfile模块
如果想知道每个函数消耗的多少时间,以及每个函数执行了多少次,可以用CProfile模块。
1 |
|