Skip to content

Commit d1090f1

Browse files
committed
sunnychan
1 parent 55314de commit d1090f1

23 files changed

+73
-16
lines changed
+2-14
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
# Performance Profile
1+
# C/C++ Performance
22

3-
4-
## DB
5-
6-
## Java
7-
8-
## C/C++
93
### [gperftools - Google Performance Tools](https://github.com/gperftools/gperftools)
104
```md
115
是一款针对 C/C++ 程序的性能分析工具
@@ -18,10 +12,4 @@ heap-checker
1812
检测内存泄漏
1913
CPU profiler
2014
```
21-
### Valgrind
22-
23-
## Resource
24-
* [《性能之巅:洞悉系统、企业和云计算》](https://github.com/SunnnyChan/sc.ebooks/blob/master/programe/profile/sys-performance)
25-
26-
27-
15+
### Valgrind

Perf/JavaPerf/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Java 程序性能剖析
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Perf/LinuxPerf/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Linux Performance
2+
3+
4+
## Reference
5+
### [Linux Performance](http://www.brendangregg.com/linuxperf.html)
6+
![Linux Performance Tools](_pic/linux_perf_tools_full.png)
7+
8+
![Linux Observability Tools](_pic/linux_observability_tools.png)
9+
10+
![Linux Tuning Tools](_pic/linux_tuning_tools.png)
11+
12+
![Linux Static Tools](_pic/linux_static_tools.png)
13+
14+
![Linux Benchmarking Tools](_pic/linux_benchmarking_tools.png)
15+
16+
![Linux Performance Observability: Sar](_pic/linux_observability_sar.png.png)
17+
18+
![Linux bcc/BPF Tracing Tools](_pic/bcc_tracing_tools.png)
File renamed without changes.
288 KB
Loading
Loading
Loading
Loading
919 KB
Loading
258 KB
Loading
254 KB
Loading

Perf/Perf.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# 性能
2+
3+
## Reference
4+
### [Brendan D. Gregg](http://www.brendangregg.com/index.html)

Perf/PerfAnalysis/PerfMethods.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# [Performance Analysis Methodology](http://www.brendangregg.com/methodology.html)
2+
3+
## [USE 方法:查找资源瓶颈](http://www.brendangregg.com/usemethod.html)
4+
```md
5+
Utilization Saturation and Errors (USE) Method
6+
是一种用于分析任何系统性能的方法。它指导构建检查表,该检查表可用于服务器分析,以快速识别资源瓶颈或错误。
7+
它从提出问题开始,然后寻找答案,而不是从给定的指标(部分答案)开始并尝试倒退。
8+
```
9+
## [TSA 方法:用于分析申请时间](http://www.brendangregg.com/tsamethod.html)
10+
```md
11+
Thread State Analysis (TSA) Method
12+
对于大多数性能问题,可以使用两种基本的性能分析方法。第一种是面向资源的USE方法,它提供了一个清单,用于识别常见的瓶颈和错误。
13+
第二种是面向线程的TSA方法,用于识别导致线程性能不佳的问题。
14+
《系统性能》一书的“应用程序”一章中介绍了TSA方法。
15+
```
16+
```md
17+
TSA方法是USE方法的补充,因为它具有不同的观点:线程而不是资源。
18+
与USE方法类似,它提供了分析的起点,然后将调查范围缩小到问题区域。
19+
它也可以应用于任何OS,因为它是根据我们想回答的问题开发的:每个线程在哪里花费时间?
20+
```
21+
## [Off-CPU 分析:用于分析任何类型的线程等待延迟](http://www.brendangregg.com/offcpuanalysis.html)
22+
```md
23+
On-CPU:线程在CPU上运行花费的时间。
24+
Off-CPU:在等待I / O,锁定,计时器,分页/交换 花费的时间。
25+
```
26+
```md
27+
Off-CPU分析 测量和研究 Off-CPU时间 以及 堆栈跟踪等。它与On-CPU分析不同,后者仅检查线程是否在CPU上执行。
28+
在这里,目标是处于阻塞状态且已关闭CPU的线程状态
29+
```
30+
```md
31+
Off-CPU 分析是对 On-CPU 分析的补充,因此可以理解100%的线程时间。
32+
```
33+
## [主动基准测试:准确,成功地进行基准测试](http://www.brendangregg.com/activebenchmarking.html)
34+
35+
36+
## Anti-Methodologies

Perf/PerfAnalysis/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Performance Analysis Methodology
2+
3+
4+
## Reference
5+
### [Performance Analysis Methodology](PerfMethods.md)
6+
File renamed without changes.

QA.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@
5353

5454
# 性能
5555
## [Performance Test](Perf/PerfTest/README.md)
56-
## [Performance Profile](Perf/Profile/README.md)
57-
### [Linux](Perf/Profile/Linux/README.md)
56+
## [Performance Analysis](Perf/PerfAnalysis/README.md)
57+
58+
## Systems Performance
59+
### [《性能之巅:洞悉系统、企业和云计算》(Systems Performance: Enterprise and the Cloud)](https://github.com/SunnnyChan/sc.ebooks/tree/master/programme/profile/sys-performance)
60+
## [Linux](Perf/Profile/Linux/README.md)
61+
### [《BPF Performance Tools》](https://github.com/SunnnyChan/sc.ebooks/tree/master/programme/profile/BPF-Perf)
5862

5963
# 稳定性
6064
## 故障演练

QA.xmind

9.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)