You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lana-docs-site/docs/docs/features.md
+38-38Lines changed: 38 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,15 @@
2
2
sidebar_position: 4
3
3
---
4
4
5
-
# Features
5
+
# ✨ Features
6
6
7
-
-[**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
8
-
-[**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
9
-
-[**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
10
-
-[**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
7
+
- 🔥 [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
8
+
- 🌳 [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
9
+
- 🧠 [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
10
+
- 💾 [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
11
+
- 🔍 [**Find**](#find) - Find, highlight and step through matching text and log events on the Timeline, Call Tree, Analysis
11
12
12
-
## Timeline / Flame chart
13
+
## 🔥 Timeline / Flame chart
13
14
14
15
The Timeline shows a visualization of code execution during a request’s execution. Each color represents a different Salesforce event type e.g DB, Method, SOQL etc. The length of a bar relates to realtime taken, a longer bar means that method took longer.
15
16
@@ -22,14 +23,6 @@ The Timeline shows a visualization of code execution during a request’s execut
22
23
- Scroll left and right on the mouse to move the time line left are right, when zoomed
23
24
- Click the mouse down and drag to move the timeline around both in the x and y direction, when zoomed
24
25
25
-
### Find
26
-
27
-
- CMD/CTRL + f to open find
28
-
- Events with matching text are highlighted, there is a different highlight for the current match.
29
-
- Previous match, next match and case sensitive search all supported.
30
-
- If the next matching event is off screen that event will be centered on the timeline.
31
-
- The find will match on Event Type or text in the event
32
-
33
26
### Go to Call Tree
34
27
35
28
Clicking an event in the Timeline will go to and select that event in the Call Tree.
@@ -47,21 +40,14 @@ The tooltip provides the following information.\
47
40
**Duration** - Made up of **Total Time** (time spent in that event and its children) and **Self Time** (time directly spent in that event).\
48
41
**Rows** - Shows **Total Rows** (rows from that event and its children) and **Self Rows** (rows directly from that event).
49
42
50
-
## Call Tree
43
+
## 🌳 Call Tree
51
44
52
45
Shows the call stack which can be expanded and collapsed. Clicking on a link will take you to that line in the class if it can be found in the current open project.
Each row shows event type, details such as method signature, self and total time as well as aggregated DML, SOQL, Throws and Row counts.
57
50
58
-
### Find
59
-
60
-
- CMD/CTRL + f to open find
61
-
- Any matching text is highlighted, there is a different highlight for the current match.
62
-
- Previous match, next match and case sensitive search all supported.
63
-
- If the next matching text is within a parent that parent will be expanded.
64
-
65
51
### Go to Code
66
52
67
53
Clicking the link in the event column will open the corresponding file and line, if that file exists in the current workspace.
@@ -81,19 +67,12 @@ Each column can be sorted by clicking the column header, this will sort the rows
81
67
82
68
The Call Tree can be navigated with the keyboard. The up and down keys will move between rows, the left and right keys will expand and collapse a parent within the tree.
83
69
84
-
## Analysis
70
+
## 🧠 Analysis
85
71
86
72
Show analysis of method calls by showing Self Time, Total Time, Count (number of times a method was called), name and type. Each column can be sorted ascending or descending by clicking the column header.
The _Selectivity_ column will have a green tick if the query is selective, a red cross if it is not and will be blank if the selectivity could not be determine. Sorting on this column will sort the rows by relative query cost, this number can be seen by hovering the cell on the selectivity column.
125
104
126
-
### Find
127
-
128
-
- CMD/CTRL + f to open find
129
-
- Any matching text is highlighted, there is a different highlight for the current match.
130
-
- Previous match, next match and case sensitive search all supported.
131
-
- If the next matching text is within a group that group will be expanded.
132
-
133
105
### Sort
134
106
135
107
The rows can be sorted ascending or descending by DML/SOQL, Row Count and Time Taken and by Selectivity and Aggregations on the SOQL table.
@@ -160,3 +132,31 @@ For SOQL rows, to the right of the Call Stack is SOQL Analysis which shows infor
160
132
161
133
Click the header menu,`⋮`, and use `Export to CSV` to save the table content to a file.
162
134
Focus the Analysis table and use `CMD / CTRL + c` to copy the table content to clipboard. This can then be pasted into a spreadsheet or other file.
135
+
136
+
## 🔍 Find
137
+
138
+
- CMD/CTRL + f to open find
139
+
- Any matching text is highlighted, the current match has a lighter hightlight.
140
+
- Previous match, next match and case sensitive search all supported.
141
+
142
+
### Timeline
143
+
144
+
- If the next matching event is off screen that event will be centered on the timeline.
145
+
- The find will match on Event Type or text in the event
146
+
- The tooltip is shown for the current matching event, making it easy to view the event details such as Total or Self time.
0 commit comments