版本記錄
版本號 | 時間 |
---|---|
V1.0 | 2018.06.20 |
前言
我們在做app的時候,不是做完功能就結(jié)束了,很多時候是需要進(jìn)行檢查和優(yōu)化的,而xcode自帶了一個很好的檢查工具,可以檢測內(nèi)存泄漏。還可以查看哪一個方法比較耗時。還可以檢測離屏渲染等等,隨后的幾篇我們就說一下這個工具的使用。感興趣的可以看這幾篇。
1.INSTRUMENTS調(diào)試工具的使用(一)
2.INSTRUMENTS調(diào)試工具的使用(二)
3.INSTRUMENTS調(diào)試工具的使用(三)
4.INSTRUMENTS調(diào)試工具的使用(四)
5.INSTRUMENTS調(diào)試工具的使用(五)
6.INSTRUMENTS調(diào)試工具的使用(六)
7.INSTRUMENTS調(diào)試工具的使用(七)
8.INSTRUMENTS調(diào)試工具的使用(八)
9.INSTRUMENTS調(diào)試工具的使用(九)
10. INSTRUMENTS調(diào)試工具的使用(十)
11. INSTRUMENTS調(diào)試工具的使用(十一) —— 簡介(一)
12. INSTRUMENTS調(diào)試工具的使用(十二) —— 通常任務(wù)之啟動Instruments(一)
13. INSTRUMENTS調(diào)試工具的使用(十三) —— 通常任務(wù)之簡單了解Instruments(二)
14. INSTRUMENTS調(diào)試工具的使用(十四) —— 通常任務(wù)之創(chuàng)建、保存和打開跟蹤文檔(三)
15. INSTRUMENTS調(diào)試工具的使用(十五) —— 通常任務(wù)之指定目標(biāo)應(yīng)用和設(shè)備(四)
16. INSTRUMENTS調(diào)試工具的使用(十六) —— 通常任務(wù)之訪問和使用個別儀器(五)
17. INSTRUMENTS調(diào)試工具的使用(十七) —— 通常任務(wù)之記錄、暫停和停止跟蹤(六)
18. INSTRUMENTS調(diào)試工具的使用(十八) —— 導(dǎo)航收集的數(shù)據(jù)之關(guān)于數(shù)據(jù)分析(一)
19. INSTRUMENTS調(diào)試工具的使用(十九) —— 導(dǎo)航收集的數(shù)據(jù)之導(dǎo)航時間軸窗格(二)
20. INSTRUMENTS調(diào)試工具的使用(二十) —— 導(dǎo)航收集的數(shù)據(jù)之導(dǎo)航詳細(xì)面板(三)
21. INSTRUMENTS調(diào)試工具的使用(二十一) —— 導(dǎo)航收集的數(shù)據(jù)之將數(shù)據(jù)映射到源代碼(四)
22. INSTRUMENTS調(diào)試工具的使用(二十二) —— 導(dǎo)航收集的數(shù)據(jù)之查看您應(yīng)用的源代碼(五)
23. INSTRUMENTS調(diào)試工具的使用(二十三) —— 分析你App的性能之測量CPU使用情況(一)
24. INSTRUMENTS調(diào)試工具的使用(二十四) —— 分析你App的性能之測量圖形性能(二)
25. INSTRUMENTS調(diào)試工具的使用(二十五) —— 分析你App的性能之監(jiān)視網(wǎng)絡(luò)和文件I / O(三)
26. INSTRUMENTS調(diào)試工具的使用(二十六) —— 分析你App的內(nèi)存使用之關(guān)于內(nèi)存分析(一)
27. INSTRUMENTS調(diào)試工具的使用(二十七) —— 分析你App的內(nèi)存使用之檢測內(nèi)存使用(二)
28. INSTRUMENTS調(diào)試工具的使用(二十八) —— 分析你App的內(nèi)存使用之找到廢棄的內(nèi)存(三)
29. INSTRUMENTS調(diào)試工具的使用(二十九) —— 分析你App的內(nèi)存使用之找到內(nèi)存泄露(四)
30. INSTRUMENTS調(diào)試工具的使用(三十) —— 分析你App的內(nèi)存使用之找到僵尸對象(五)
31. INSTRUMENTS調(diào)試工具的使用(三十一) —— 分析你App的能源之測量能源影響(一)
32. INSTRUMENTS調(diào)試工具的使用(三十二) —— 高級任務(wù)之導(dǎo)出和導(dǎo)入跟蹤數(shù)據(jù)(一)
33. INSTRUMENTS調(diào)試工具的使用(三十三) —— 高級任務(wù)之創(chuàng)建自定義Instruments(二)
34. INSTRUMENTS調(diào)試工具的使用(三十四) —— 分析模板和工具之分析模板(一)
35. INSTRUMENTS調(diào)試工具的使用(三十五) —— 分析模板和工具之Activity Monitor工具(二)
36. INSTRUMENTS調(diào)試工具的使用(三十六) —— 分析模板和工具之Allocations工具(三)
37. INSTRUMENTS調(diào)試工具的使用(三十七) —— 分析模板和工具之藍(lán)牙開關(guān)日志工具(四)
38. INSTRUMENTS調(diào)試工具的使用(三十八) —— 分析模板和工具之Carbon Events工具(五)
39. INSTRUMENTS調(diào)試工具的使用(三十九) —— 分析模板和工具之Cocoa Events工具(六)
40. INSTRUMENTS調(diào)試工具的使用(四十) —— 分析模板和工具之Connections工具(七)
41. INSTRUMENTS調(diào)試工具的使用(四十一) —— 分析模板和工具之Core Animation工具(八)
42. INSTRUMENTS調(diào)試工具的使用(四十二) —— 分析模板和工具之Core Data Cache Misses工具(九)
43. INSTRUMENTS調(diào)試工具的使用(四十三) —— 分析模板和工具之Core Data Faults工具(十)
44. INSTRUMENTS調(diào)試工具的使用(四十四) —— 分析模板和工具之Core Data Fetches工具(十一)
45. INSTRUMENTS調(diào)試工具的使用(四十五) —— 分析模板和工具之Core Data Saves工具(十二)
46. INSTRUMENTS調(diào)試工具的使用(四十六) —— 分析模板和工具之Counters工具(十三)
47. INSTRUMENTS調(diào)試工具的使用(四十七) —— 分析模板和工具之CPU Activity Log工具(十四)
48. INSTRUMENTS調(diào)試工具的使用(四十八) —— 分析模板和工具之Directory I/O工具(十五)
49. INSTRUMENTS調(diào)試工具的使用(四十九) —— 分析模板和工具之Dispatch工具(十六)
50. INSTRUMENTS調(diào)試工具的使用(五十) —— 分析模板和工具之Display Brightness Log工具(十七)
51. INSTRUMENTS調(diào)試工具的使用(五十一) —— 分析模板和工具之Displayed Surfaces工具(十八)
52. INSTRUMENTS調(diào)試工具的使用(五十二) —— 分析模板和工具之Energy Usage Log工具(十九)
53. INSTRUMENTS調(diào)試工具的使用(五十三) —— 分析模板和工具之GPS On/Off Log工具(二十)
54. INSTRUMENTS調(diào)試工具的使用(五十四) —— 分析模板和工具之GPU Driver工具(二十一)
55. INSTRUMENTS調(diào)試工具的使用(五十五) —— 分析模板和工具之GPU Hardware工具(二十二)
Overview
Instrument Description | Supported Platforms | Related Profiling Templates |
---|---|---|
記錄圖形驅(qū)動程序中的命令緩沖區(qū)調(diào)度和提交事件。 該儀器監(jiān)視CPU端事件。 | iOS |
Metal Application Instrument |
重要:本儀器不可以在
Metal System Trace
模板之外單獨使用。
Timeline Pane - 時間線窗格
時間軸窗格顯示一個圖形,指示圖形驅(qū)動程序中的命令緩沖區(qū)調(diào)度和提交事件。
Record Settings - 記錄設(shè)置
本instrument
沒有任何可配置的記錄設(shè)置。
Display Settings - 顯示設(shè)置
單擊檢查器窗格中的顯示設(shè)置按鈕以自定義以下顯示設(shè)置。
1. Track Display Settings - 跟蹤顯示設(shè)置
這些設(shè)置控制信息在時間線窗格中的顯示方式
Setting | Description | Options |
---|---|---|
Style |
How information is presented. This is a fixed setting, which can’t be changed |
Nested Data |
Detail Pane Columns - 詳細(xì)面板列
1. Graphic Driver Events Detail Type - Graphic Driver Events詳細(xì)類型
以下圖形驅(qū)動事件列在詳細(xì)信息窗格中可用。
Column name | Definition |
---|---|
Source |
The object responsible for the driver event (e.g. a framebuffer) |
Event |
The driver event (e.g. an attachment action) |
Timestamp |
The time at which the event occurred |
Notes |
Additional notes about the event (e.g. "Depth store") |
Process |
The process that created the event |
Command Buffer |
The command buffer associated with the event |
Encoder |
The command encoder associated with the event |
2. Resource Events Detail Type - Resource Events詳細(xì)類型
以下資源事件列在詳細(xì)信息窗格中可用。
Column name | Definition |
---|---|
Timestamp |
The time at which the event occurred |
Event |
|
ID |
|
Label |
|
Type |
|
Num Bytes |
|
Process |
3. Shader Compilation Detail Type - Shader Compilation詳細(xì)類型
詳細(xì)信息窗格中提供以下Shader Compilation
列。
Column name | Definition |
---|---|
Source |
The type of shader compiled. This can be a Vertex, Fragment, or Compute shader |
Start Time |
The start time of the shader compilation |
End Time |
The end time of the shader compilation |
Duration |
The duration of the shader compilation |
Process |
The process that created the shader |
4. Narrative Heuristics Detail Type - Narrative Heuristics詳細(xì)類型
以下Narrative Heuristics
列可在詳細(xì)信息窗格中找到。
Column name | Definition |
---|---|
Timestamp |
The time an interesting event occurred |
Narrative |
Information about an interesting event that occurred |
5. Graphic Driver Processing Detail Type - Graphic Driver Processing詳細(xì)類型
詳細(xì)信息窗格中提供以下圖形驅(qū)動程序處理列
Column name | Definition |
---|---|
Event |
The driver event (e.g. a kernel submission) |
Start Time |
The start time of the event |
End Time |
The end time of the event |
Duration |
The duration of the event |
Process |
The process that created the event |
Frame |
The frame at which the event occurred |
后記
本篇主要講述了
Graphics Driver Activity
工具,感興趣的給個贊或者關(guān)注~~~~