From c4e200687ef1625fb7f6c7ca37187f61187fe0e1 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 19 Nov 2020 19:37:22 +0100 Subject: [PATCH] Increase the default `profiler_frame_max_functions` to 512 This should decrease the number of instances in which functions don't appear in the profiler. This partially addresses #40251. --- editor/editor_profiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_profiler.cpp b/editor/editor_profiler.cpp index e5a9c4d6991..f8dbc136cee 100644 --- a/editor/editor_profiler.cpp +++ b/editor/editor_profiler.cpp @@ -764,7 +764,7 @@ EditorProfiler::EditorProfiler() { last_metric = -1; hover_metric = -1; - EDITOR_DEF("debugger/profiler_frame_max_functions", 64); + EDITOR_DEF("debugger/profiler_frame_max_functions", 512); frame_delay = memnew(Timer); frame_delay->set_wait_time(0.1);