parent
0486213141
commit
471fc5b235
@ -0,0 +1,8 @@
|
|||||||
|
import cProfile # 导入性能分析模块
|
||||||
|
from main import main
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
|
||||||
|
cProfile.run('main()')
|
||||||
|
# 运行 main 函数并将分析结果按累计时间排序后保存到 result.out 文件中。
|
||||||
|
# cProfile.run('main()', filename="result.out", sort="cumulative")
|
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
Loading…
Reference in new issue