diff options
author | sapier <Sapier at GMX dot net> | 2014-08-12 23:07:27 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-08-19 22:22:57 +0200 |
commit | c24e0753fc240636b2f9b1889554649e67c9046c (patch) | |
tree | 1de1583525dbce908a470941745e3a6b0c23b3c2 /minetest.conf.example | |
parent | 4caa00cc99af133e5724cd8ab04f5cb8db81a666 (diff) | |
download | minetest-c24e0753fc240636b2f9b1889554649e67c9046c.tar.gz minetest-c24e0753fc240636b2f9b1889554649e67c9046c.tar.bz2 minetest-c24e0753fc240636b2f9b1889554649e67c9046c.zip |
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)
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index 24724ce28..78f51a517 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -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 |