... | ... | @@ -138,8 +138,9 @@ Google的最佳实践介绍 |
|
|
|
|
|
# 其他
|
|
|
```shell
|
|
|
cd xx
|
|
|
pyreverse --project Pyreverse . --ignore test --output png # 工程结构图
|
|
|
pyreverse --project Pyreverse $path --ignore test --output png # 工程结构图
|
|
|
|
|
|
cd $path
|
|
|
python -m cProfile -o tmp.pstats tmp.py # 性能分析
|
|
|
gprof2dot -f pstats tmp.pstats | dot -T png -o tmp.png # 性能分析可视化
|
|
|
```
|
... | ... | |