可以使用profile和cProfile对python程序进行分析,这里主要记录下cProfile的使用,profile参考cProfile即可。 假设有如下代码需要进行分析(cProfileTest1 ...
確定! 回上一頁