From 499ba69d4241ccb95853c080dc3541bcd30bf550 Mon Sep 17 00:00:00 2001 From: Jefferson González Date: Thu, 3 Jul 2025 19:01:35 -0400 Subject: Add option to draw rendering stats (#291) * Frames per second * Rendering speed measured in frames per second * Maximum run time for a coroutine * Amount of running coroutines --- data/plugins/settings.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'data/plugins/settings.lua') diff --git a/data/plugins/settings.lua b/data/plugins/settings.lua index 8f8b19c2..51218df1 100644 --- a/data/plugins/settings.lua +++ b/data/plugins/settings.lua @@ -707,6 +707,15 @@ settings.add("Development", path = "log_slow_threads", type = settings.type.TOGGLE, default = false + }, + { + label = "Draw Stats", + description = "Draw the current FPS, the rendering speed in FPS possible " + .. "and the maximum time that a coroutine has to run without affecting " + .. "the rendering process plus the total amount of running coroutines.", + path = "draw_stats", + type = settings.type.TOGGLE, + default = false } } ) -- cgit v1.2.3