Measuring performance of mods

Post Reply
User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Measuring performance of mods

by mahmutelmas06 » Post

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
My Mods:

Beverage

User avatar
rubenwardy
Moderator
Posts: 6374
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Measuring performance of mods

by rubenwardy » Post

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.

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Measuring performance of mods

by everamzah » Post

The Lua Optimization Tips wiki article has some information regarding measuring performance.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Measuring performance of mods

by mahmutelmas06 » Post

Ohh, that is very usefull thank you..
My Mods:

Beverage

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests