Page 1 of 1

Measuring performance of mods

PostPosted: Thu Feb 11, 2016 00:17
by mahmutelmas06
Is there any way to find out which mods causes lag and uses how much ram ?

Or do we have to try each mod one by one

Re: Measuring performance of mods

PostPosted: Thu Feb 11, 2016 04:25
by rubenwardy
There exists a mod profiler. Something like mod_profiler = true in minetest.conf, then after a reasonable time has passed for sampling, run /save_mod_profile

It prints to debug.txt or console.

Re: Measuring performance of mods

PostPosted: Thu Feb 11, 2016 09:23
by everamzah
The Lua Optimization Tips wiki article has some information regarding measuring performance.

Re: Measuring performance of mods

PostPosted: Thu Feb 11, 2016 12:02
by mahmutelmas06
Ohh, that is very usefull thank you..