From 2b3e24953b8f913ec71a98512d92d452c91893a5 Mon Sep 17 00:00:00 2001 From: Cody Glassman Date: Fri, 3 Apr 2026 16:07:47 -0700 Subject: [PATCH] Disable Lua profiler by default --- docs/source/reference/modding/settings/lua.rst | 2 +- files/settings-default.cfg | 2 +- scripts/integration_tests.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/source/reference/modding/settings/lua.rst b/docs/source/reference/modding/settings/lua.rst index 77848e23c7..0e22b37bb4 100644 --- a/docs/source/reference/modding/settings/lua.rst +++ b/docs/source/reference/modding/settings/lua.rst @@ -24,7 +24,7 @@ Lua Settings :title: lua profiler :type: boolean :range: true, false - :default: true + :default: false Enables Lua profiler. diff --git a/files/settings-default.cfg b/files/settings-default.cfg index 2c4bbab953..2f01f1d123 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -1197,7 +1197,7 @@ lua debug = false lua num threads = 1 # Enable Lua profiler -lua profiler = true +lua profiler = false # No ownership tracking for allocations below or equal this size. small alloc max size = 1024 diff --git a/scripts/integration_tests.py b/scripts/integration_tests.py index 773932bb20..1ed7f7457d 100755 --- a/scripts/integration_tests.py +++ b/scripts/integration_tests.py @@ -80,6 +80,7 @@ def run_test(test_name): "smooth animation transitions = true\n" "[Lua]\n" f"memory limit = {1024 * 1024 * 256}\n" + "lua profiler = true\n" ) stdout_lines = list() test_success = True