summaryrefslogtreecommitdiff
path: root/core/project_settings.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-05-17 02:02:35 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2018-05-18 11:49:21 +0200
commit228ae60a63df4190028a34648290417982c0d268 (patch)
tree3ed8c257c7a40c8c3ca0d62e980e1d8b3b3823bb /core/project_settings.cpp
parent942e0c483247af1e84b7992be48f8ef6317d45c6 (diff)
Make the performance reporting update frequency customizable
The default update frequency has been changed from 1000ms to 250ms.
Diffstat (limited to 'core/project_settings.cpp')
-rw-r--r--core/project_settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/project_settings.cpp b/core/project_settings.cpp
index ac4a4b7d15..ef485cb3b2 100644
--- a/core/project_settings.cpp
+++ b/core/project_settings.cpp
@@ -1071,6 +1071,7 @@ ProjectSettings::ProjectSettings() {
GLOBAL_DEF("rendering/quality/intended_usage/framebuffer_mode", 2);
GLOBAL_DEF("debug/settings/profiler/max_functions", 16384);
+ GLOBAL_DEF("debug/settings/performance/update_frequency_msec", 250);
//assigning here, because using GLOBAL_GET on every block for compressing can be slow
Compression::zstd_long_distance_matching = GLOBAL_DEF("compression/formats/zstd/long_distance_matching", false);