From f1cc14d5252b1c799a7960b3cced678eebb6ab2a Mon Sep 17 00:00:00 2001 From: msreis Date: Sun, 5 Mar 2023 14:37:11 +0200 Subject: Fix missing time for some script functions in profiler Fixes the issue by adding a mechanism by which the functions that were previously disappearing can be profiled too. This is optional with an editor setting, since collecting more information naturally slows the engine further while profiling. Fixes #23715, #40251, #29049 --- doc/classes/EditorSettings.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/classes/EditorSettings.xml') diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml index 98b4920953..93d2bb8548 100644 --- a/doc/classes/EditorSettings.xml +++ b/doc/classes/EditorSettings.xml @@ -185,6 +185,9 @@ If [code]true[/code], automatically switches to the [b]Remote[/b] scene tree when running the project from the editor. If [code]false[/code], stays on the [b]Local[/b] scene tree when running the project from the editor. + + If [code]true[/code], enables collection of profiling data from non-GDScript Godot functions, such as engine class methods. Enabling this slows execution while profiling further. + The size of the profiler's frame history. The default value (3600) allows seeing up to 60 seconds of profiling if the project renders at a constant 60 FPS. Higher values allow viewing longer periods of profiling in the graphs, especially when the project is running at high framerates. -- cgit v1.2.3