thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
127 stars 28 forks source link

Performance #1011

Open Spark61 opened 7 months ago

Spark61 commented 7 months ago

Hello,

I'm experiencing significant performance issues with the Thunderstore Mod Manager on Windows, specifically when using it for the game "Lethal Company". I have around 100 mods installed, and now the manager is extremely slow with every action. Searching for terms in either the "My Mods" or "Get Mods" tabs can take up to 10 seconds. Overall, all actions in the manager have become considerably slower.

Would appreciate any advice or fixes for this issue.

Thank you!

Meister119 commented 7 months ago

True same its very slow

UltimatumGamer commented 7 months ago

+1

MythicManiac commented 7 months ago

This is something we've noticed as well and there's several performance improvements on the way, the first of which should get released today or tomorrow.

Feel free to provide specific examples (e.g. share a profile code + list actions that are slow in it) we can test against if you want to help.

Although this issue is quite broad (which is bad as far as issue tracking goes), I'll keep it open until we either feel the general issue has been addressed or this has been broken down to more specific issues.

06000208 commented 7 months ago

Something I've noticed in the thunderstore mod manager (and r2modman) is that searching the current profile's mods takes significantly longer than I would expect. More specifically, the app seems to be freezing, during which the window can't be moved. If you enter one letter at a time, as your search gets more specific, the amount of time frozen decreases. Typing a word out all at once has one long freeze, about 5 seconds for me, which seems to start on the first keydown.

Another time r2modman has frozen for me is when expanding mod descriptions, but this doesn't seem to be easily reproducible as of writing, so it may have been fixed, or it isn't as consistent as the searching issue.

Spark61 commented 7 months ago

My profile code is 018d41dd-8efb-da4d-7eb6-c4d123806d64

NeatWolf commented 5 months ago

I was surprised it's even heavier than a standalone Chrome browser. It's taking as much resources as the modded game itself to run - and, when idle, it's often using 4 CPU cores at 50% all the time. Is there any chance you could have a look into it? This seems like a very common issue with Lethal Company and 200 mods. Still, the content showed on screen is purely textual, so what's causing the store to run so poorly? I can crank up the detail on BG3 and have it play smoothly (even with mods), but I can't run a this mod manager decently? How's that possible?

Am I missing something? Maybe there's some setting that can be disabled?