Skip to content

Commit b1573b4

Browse files
authored
Merge pull request #9968 from Calinou/profiler-autostart
Document profiler autostart functionality
2 parents 158b8e9 + be34108 commit b1573b4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

tutorials/scripting/debug/debugger_panel.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ tab within the Debugger bottom panel, then click **Start**:
8888

8989
Visual Profiler tab after clicking **Start**, waiting for a few seconds, then clicking **Stop**
9090

91+
.. tip::
92+
93+
You can also check **Autostart**, which will make the visual profiler automatically
94+
start when the project is run the next time. Note that the **Autostart**
95+
checkbox's state is not preserved across editor sessions.
96+
9197
You will see categories and results appearing as the profiler is running. Graph
9298
lines also appear, with the left side being a CPU framegraph and the right side
9399
being a GPU framegraph.

tutorials/scripting/debug/the_profiler.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ performance-intensive. It has to continually measure everything happening in the
2727
game and report back to the debugger, so it's off by default.
2828

2929
To begin profiling, run your game then focus back on the editor. Click on the
30-
**Start** button in the top-left corner of the **Profiler** tab.
30+
**Start** button in the top-left corner of the **Profiler** tab. You can also
31+
check **Autostart**, which will make the profiler automatically start when the
32+
project is run the next time. Note that the **Autostart** checkbox's state is not
33+
preserved across editor sessions.
3134

3235
.. note::
3336

0 commit comments

Comments
 (0)