File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
doc/fluid/howto/optimization Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ # CPU性能调优
2
+
1
3
此教程会介绍如何使用Python的cProfile包、Python库yep、Google perftools来进行性能分析 (profiling) 与调优(performance tuning)。
2
4
3
5
Profling 指发现性能瓶颈。系统中的瓶颈可能和程序员开发过程中想象的瓶颈相去甚远。Tuning 指消除瓶颈。性能优化的过程通常是不断重复地 profiling 和 tuning。
@@ -8,7 +10,7 @@ PaddlePaddle 用户一般通过调用 Python API 编写深度学习程序。大
8
10
* Python 与 C++ 混合代码的性能分析
9
11
10
12
11
- # Python代码的性能分析
13
+ ## Python代码的性能分析
12
14
13
15
### 生成性能分析文件
14
16
Original file line number Diff line number Diff line change
1
+ # Tune CPU performance
2
+
1
3
This tutorial introduces techniques we use to profile and tune the
2
4
CPU performance of PaddlePaddle. We will use Python packages
3
5
` cProfile ` and ` yep ` , and Google's ` perftools ` .
@@ -14,7 +16,7 @@ the profiling and tuning of
14
16
1 . the Python code and
15
17
1 . the mixture of Python and C++ code.
16
18
17
- # Profiling the Python Code
19
+ ## Profiling the Python Code
18
20
19
21
### Generate the Performance Profiling File
20
22
You can’t perform that action at this time.
0 commit comments