@@ -118,6 +118,15 @@ will be able to navigate through them with the arrow keys.
118
118
> [ linked] ( https://pip.pypa.io/en/latest/user_guide/#installing-from-wheels )
119
119
> page.
120
120
121
+ ## Thread navigation
122
+
123
+ Profiling data is processed on a per-thread basis. The total number of threads
124
+ (across all processes, if sampling child processes) is displayed in the
125
+ top-right corner of the TUI. To navigate to a different thread, use the
126
+ <kbd >&larr ; </kbd > and <kbd >&rarr ; </kbd > arrows. The PID and TID of the currently
127
+ selected thread will appear in the middle of the top bar in the TUI.
128
+
129
+
121
130
## Full mode
122
131
123
132
By default, Austin TUI shows you statistics of the last seen stack for each
@@ -164,13 +173,31 @@ operation on the bottom-right corner.
164
173
alt="Austin TUI - Save notification" />
165
174
</p >
166
175
176
+ If you run the Austin TUI inside VS Code, you can benefit from the editor's
177
+ terminal features, like using <kbd >Ctrl</kbd >/<kbd >Cmd</kbd >+<kbd >Left-Click</kbd >
178
+ to hop straight into a source file at a given line. You can also leverage the
179
+ TUI's save feature to export the collected samples and import them into the
180
+ [ Austin VS Code] extension to also get a flame graph representation.
181
+
182
+ <p align =" center " >
183
+ <img src="art/austin-tui-vscode.gif"
184
+ style="box-shadow: #111 0px 0px 16px;"
185
+ alt="Austin TUI" />
186
+ </p >
167
187
168
188
## Threshold
169
189
170
190
The statistics reported by the TUI might be overwhelming, especially in full
171
191
mode. To reduce the amout of data that gets displayed, the keys <kbd >+</kbd > and
172
192
<kbd >-</kbd > can be used to increase or lower the ` %TOTAL ` threshold
173
193
194
+ <p align =" center " >
195
+ <img src="art/austin-tui-threshold.png"
196
+ style="box-shadow: #111 0px 0px 16px;"
197
+ alt="Austin TUI - Threshold demonstration" />
198
+ </p >
199
+
200
+
174
201
# Compatibility
175
202
176
203
Austin TUI has been tested with Python 3.6-3.10 and is known to work on
@@ -218,4 +245,5 @@ on BMC or by chipping in a few pennies on
218
245
[ Austin ] : https://github.com/P403n1x87/austin
219
246
[ austin-python ] : https://github.com/P403n1x87/austin-python#installation
220
247
[ Austin installation ] : https://github.com/P403n1x87/austin#installation
248
+ [ Austin VS Code ] : https://marketplace.visualstudio.com/items?itemName=p403n1x87.austin-vscode
221
249
[ The Austin TUI Way to Resourceful Text-based User Interfaces ] : https://p403n1x87.github.io/the-austin-tui-way-to-resourceful-text-based-user-interfaces.html
0 commit comments