1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Mod profiling support

Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)

Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
This commit is contained in:
sapier 2014-08-12 23:07:27 +02:00
parent 4caa00cc99
commit c24e0753fc
7 changed files with 391 additions and 0 deletions

View file

@ -306,6 +306,11 @@
# "error" = abort on usage of deprecated call (suggested for mod developers)
#deprecated_lua_api_handling = legacy
# Mod profiler
#mod_profiling = false
# Detailed mod profile data
#detailed_profiling = false
# Profiler data print interval. #0 = disable.
#profiler_print_interval = 0
#enable_mapgen_debug_info = false