mirror of
https://github.com/OpenMW/openmw.git
synced 2026-05-06 07:56:40 -04:00
Merge branch 'profiler_be_gone' into 'master'
Disable Lua profiler by default See merge request OpenMW/openmw!5097
This commit is contained in:
@@ -24,7 +24,7 @@ Lua Settings
|
|||||||
:title: lua profiler
|
:title: lua profiler
|
||||||
:type: boolean
|
:type: boolean
|
||||||
:range: true, false
|
:range: true, false
|
||||||
:default: true
|
:default: false
|
||||||
|
|
||||||
Enables Lua profiler.
|
Enables Lua profiler.
|
||||||
|
|
||||||
|
|||||||
@@ -1182,7 +1182,7 @@ lua debug = false
|
|||||||
lua num threads = 1
|
lua num threads = 1
|
||||||
|
|
||||||
# Enable Lua profiler
|
# Enable Lua profiler
|
||||||
lua profiler = true
|
lua profiler = false
|
||||||
|
|
||||||
# No ownership tracking for allocations below or equal this size.
|
# No ownership tracking for allocations below or equal this size.
|
||||||
small alloc max size = 1024
|
small alloc max size = 1024
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ def run_test(test_name):
|
|||||||
"smooth animation transitions = true\n"
|
"smooth animation transitions = true\n"
|
||||||
"[Lua]\n"
|
"[Lua]\n"
|
||||||
f"memory limit = {1024 * 1024 * 256}\n"
|
f"memory limit = {1024 * 1024 * 256}\n"
|
||||||
|
"lua profiler = true\n"
|
||||||
)
|
)
|
||||||
stdout_lines = list()
|
stdout_lines = list()
|
||||||
test_success = True
|
test_success = True
|
||||||
|
|||||||
Reference in New Issue
Block a user