Page 1 of 1

How to find out which mod causes performance problems?

Posted: Sat Oct 12, 2019 3:58 pm
by Dragonling
Hello.
I am using over 120 mods for my multiplayer game. It was predicatable that one day a client will suffer due to performance problems. My base is tiny (pre-rocket even).

How can I find out which mods affect performance (UPS and network responsiveness, not FPS) most?
For example, I have found the advice to press F4 and turn on show-time-usage. But with 120 mods the list does not match the screen.

I believe, there should have been such a topic, but I don't know how to search for it.

Re: How to find out which mod causes performance problems?

Posted: Sat Oct 12, 2019 6:30 pm
by Hiladdar
A good start would be, under default keyboard assignments, press F4, the check the box "Show Time Usage". Then press F4 again.

On the left part of your screen you will see text, and under a line "script-update" will be a list of mods and how much computing resources they use.

Hiladdar

Re: How to find out which mod causes performance problems?

Posted: Sat Oct 12, 2019 7:00 pm
by DaveMcW
It would be nice if "show-time-usage" sorted by average time. Maybe only refresh to sort order every few seconds to avoid jitter.

Re: How to find out which mod causes performance problems?

Posted: Tue Oct 22, 2019 4:56 am
by Dragonling
Since noone knows a better solution, is there a way to save/export "show-time-usage" into a file or clipboard and then analyze it offline?

Re: How to find out which mod causes performance problems?

Posted: Tue Oct 22, 2019 8:00 pm
by Hiladdar
One way would be to bring the information up. Than hit the PrtScrn button on the keyboard, that loads up your current display into the computer's buffer. Load any type of a paint program. For this I use PC-Paint, and click paste. The final step is to save the file.

https://www.wikihow.com/Use-Print-Screen would be an example specific to W10.

Hiladdar

Re: How to find out which mod causes performance problems?

Posted: Wed Oct 23, 2019 4:12 pm
by eradicator
Dragonling wrote: Tue Oct 22, 2019 4:56 am Since noone knows a better solution, is there a way to save/export "show-time-usage" into a file or clipboard and then analyze it offline?
You can decrease debug-font-size=18 in config.ini, but if all of your 100+ mods run scripts i'm not sure if you can fit them while still being humanly readable.

Re: How to find out which mod causes performance problems?

Posted: Wed Oct 23, 2019 4:28 pm
by Dragonling
eradicator wrote: Wed Oct 23, 2019 4:12 pm You can decrease debug-font-size=18 in config.ini
Well, that's something. Thank you.

Re: How to find out which mod causes performance problems?

Posted: Thu Oct 24, 2019 11:37 am
by BlueTemplar
Hiladdar wrote: Tue Oct 22, 2019 8:00 pm One way would be to bring the information up. Than hit the PrtScrn button on the keyboard, that loads up your current display into the computer's buffer. Load any type of a paint program. For this I use PC-Paint, and click paste. The final step is to save the file.

https://www.wikihow.com/Use-Print-Screen would be an example specific to W10.

Hiladdar
That doesn't work well when your text is off-screen or covered by something else.
Also it returns a picture and not text, unless you use OCR.

Re: How to find out which mod causes performance problems?

Posted: Thu Oct 24, 2019 8:00 pm
by Hiladdar
BlueTemplar wrote: Thu Oct 24, 2019 11:37 am
Hiladdar wrote: Tue Oct 22, 2019 8:00 pm One way would be to bring the information up. Than hit the PrtScrn button on the keyboard, that loads up your current display into the computer's buffer. Load any type of a paint program. For this I use PC-Paint, and click paste. The final step is to save the file.

https://www.wikihow.com/Use-Print-Screen would be an example specific to W10.

Hiladdar
That doesn't work well when your text is off-screen or covered by something else.
Also it returns a picture and not text, unless you use OCR.
I only see you trolling me by stepping up to take another cheep shot at me. Dragonling's question was how, and I took the time to give that individuals If you want to be constructive, give Dragonling another solution to resolve his problem.

Re: How to find out which mod causes performance problems?

Posted: Fri Oct 25, 2019 12:55 pm
by eradicator
Hiladdar wrote: Thu Oct 24, 2019 8:00 pm I only see you trolling me by stepping up to take another cheep shot at me.
You didn't even bother to fully read the @OP (Ye know, the part where he mentiones that F4 info is too large for his screen...). You're the one taking cheap shots.