OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
| 3 { |
| 4 "type": "view", |
| 5 "location": "panel", |
| 6 "id": "profiles", |
| 7 "title": "Profiles", |
| 8 "order": 60, |
| 9 "className": "Profiler.ProfilesPanel", |
| 10 "condition": "v8only" |
| 11 }, |
| 12 { |
| 13 "type": "view", |
| 14 "location": "panel", |
| 15 "id": "profiles", |
| 16 "title": "Memory", |
| 17 "order": 60, |
| 18 "className": "Profiler.ProfilesPanel", |
| 19 "condition": "!v8only" |
| 20 }, |
| 21 { |
| 22 "type": "@UI.ContextMenu.Provider", |
| 23 "contextTypes": [ |
| 24 "SDK.RemoteObject" |
| 25 ], |
| 26 "className": "Profiler.ProfilesPanel.ContextMenuProvider" |
| 27 }, |
| 28 { |
| 29 "type": "setting", |
| 30 "category": "Profiler", |
| 31 "title": "Record heap allocation stack traces", |
| 32 "settingName": "recordAllocationStacks", |
| 33 "settingType": "boolean", |
| 34 "defaultValue": false |
| 35 }, |
| 36 { |
| 37 "type": "setting", |
| 38 "category": "Profiler", |
| 39 "title": "High resolution CPU profiling", |
| 40 "settingName": "highResolutionCpuProfiling", |
| 41 "settingType": "boolean", |
| 42 "defaultValue": true |
| 43 }, |
| 44 { |
| 45 "type": "setting", |
| 46 "category": "Profiler", |
| 47 "title": "Show native functions in JS Profile", |
| 48 "settingName": "showNativeFunctionsInJSProfile", |
| 49 "settingType": "boolean", |
| 50 "defaultValue": true |
| 51 }, |
| 52 { |
| 53 "type": "@UI.ActionDelegate", |
| 54 "actionId": "profiler.toggle-recording", |
| 55 "iconClass": "largeicon-start-recording", |
| 56 "toggledIconClass": "largeicon-stop-recording", |
| 57 "toggleWithRedColor": true, |
| 58 "contextTypes": [ |
| 59 "Profiler.ProfilesPanel" |
| 60 ], |
| 61 "className": "Profiler.ProfilesPanel.RecordActionDelegate", |
| 62 "bindings": [ |
3 { | 63 { |
4 "type": "view", | 64 "platform": "windows,linux", |
5 "location": "panel", | 65 "shortcut": "Ctrl+E" |
6 "id": "profiles", | |
7 "title": "Profiles", | |
8 "order": 60, | |
9 "className": "Profiler.ProfilesPanel", | |
10 "condition": "v8only" | |
11 }, | 66 }, |
12 { | 67 { |
13 "type": "view", | 68 "platform": "mac", |
14 "location": "panel", | 69 "shortcut": "Meta+E" |
15 "id": "profiles", | |
16 "title": "Memory", | |
17 "order": 60, | |
18 "className": "Profiler.ProfilesPanel", | |
19 "condition": "!v8only" | |
20 }, | |
21 { | |
22 "type": "@UI.ContextMenu.Provider", | |
23 "contextTypes": ["SDK.RemoteObject"], | |
24 "className": "Profiler.ProfilesPanel.ContextMenuProvider" | |
25 }, | |
26 { | |
27 "type": "setting", | |
28 "category": "Profiler", | |
29 "title": "Record heap allocation stack traces", | |
30 "settingName": "recordAllocationStacks", | |
31 "settingType": "boolean", | |
32 "defaultValue": false | |
33 }, | |
34 { | |
35 "type": "setting", | |
36 "category": "Profiler", | |
37 "title": "High resolution CPU profiling", | |
38 "settingName": "highResolutionCpuProfiling", | |
39 "settingType": "boolean", | |
40 "defaultValue": true | |
41 }, | |
42 { | |
43 "type": "setting", | |
44 "category": "Profiler", | |
45 "title": "Show native functions in JS Profile", | |
46 "settingName": "showNativeFunctionsInJSProfile", | |
47 "settingType": "boolean", | |
48 "defaultValue": true | |
49 }, | |
50 { | |
51 "type": "@UI.ActionDelegate", | |
52 "actionId": "profiler.toggle-recording", | |
53 "iconClass": "largeicon-start-recording", | |
54 "toggledIconClass": "largeicon-stop-recording", | |
55 "toggleWithRedColor": true, | |
56 "contextTypes": ["Profiler.ProfilesPanel"], | |
57 "className": "Profiler.ProfilesPanel.RecordActionDelegate", | |
58 "bindings": [ | |
59 { | |
60 "platform": "windows,linux", | |
61 "shortcut": "Ctrl+E" | |
62 }, | |
63 { | |
64 "platform": "mac", | |
65 "shortcut": "Meta+E" | |
66 } | |
67 ] | |
68 } | 70 } |
69 ], | 71 ] |
70 "dependencies": [ | 72 } |
71 "components", | 73 ], |
72 "components_lazy", | 74 "dependencies": [ |
73 "ui_lazy" | 75 "components", |
74 ], | 76 "perf_ui", |
75 "scripts": [ | 77 "data_grid" |
76 "ProfilesPanel.js", | 78 ], |
77 "ProfileView.js", | 79 "scripts": [ |
78 "ProfileDataGrid.js", | 80 "ProfilesPanel.js", |
79 "BottomUpProfileDataGrid.js", | 81 "ProfileView.js", |
80 "TopDownProfileDataGrid.js", | 82 "ProfileDataGrid.js", |
81 "CPUProfileFlameChart.js", | 83 "BottomUpProfileDataGrid.js", |
82 "CPUProfileView.js", | 84 "TopDownProfileDataGrid.js", |
83 "HeapProfileView.js", | 85 "CPUProfileFlameChart.js", |
84 "HeapSnapshotCommon.js", | 86 "CPUProfileView.js", |
85 "HeapSnapshotProxy.js", | 87 "HeapProfileView.js", |
86 "HeapSnapshotDataGrids.js", | 88 "HeapSnapshotCommon.js", |
87 "HeapSnapshotGridNodes.js", | 89 "HeapSnapshotProxy.js", |
88 "HeapSnapshotView.js", | 90 "HeapSnapshotDataGrids.js", |
89 "ProfileLauncherView.js", | 91 "HeapSnapshotGridNodes.js", |
90 "ProfileTypeRegistry.js", | 92 "HeapSnapshotView.js", |
91 "TargetsComboBoxController.js" | 93 "ProfileLauncherView.js", |
92 ], | 94 "ProfileTypeRegistry.js", |
93 "resources": [ | 95 "TargetsComboBoxController.js" |
94 "heapProfiler.css", | 96 ], |
95 "profilesPanel.css", | 97 "resources": [ |
96 "profilesSidebarTree.css" | 98 "heapProfiler.css", |
97 ] | 99 "profilesPanel.css", |
98 } | 100 "profilesSidebarTree.css" |
| 101 ] |
| 102 } |
OLD | NEW |