Topic: Really really bad performance of savegame
MarkMcWire Topic Opener |
Posted at: 2020-09-08, 17:12
I once created a savegame with my Europeans tribe on the map Europe 1.1 and played it for about 160 hours against normal tribes. The game is now unplayable. You can no longer navigate on the map. Where does this extreme loss of performance come from? Can a developer please check that with a debug version? I play with the normal build 21 from Flatpak on Solus Linux. I installed my own tribe under ~ / .widelands. I attached the link to my saved game (on Google Drive) below. This also includes the tribe folder. -> https://drive.google.com/file/d/1Lsa5iMMR92O7mxHNlOmJpt6qFXFixQzP/view?usp=sharing My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
niektory |
Posted at: 2020-09-08, 18:23
I don't think you shared the files correctly. Can you attach them here or in a GitHub issue? Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-09-08, 19:09
What files are missing? Edited: 2020-09-08, 19:09
My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
Nordfriese |
Posted at: 2020-09-08, 19:52
Without having looked at the savegame, when games run slowly on big maps it is often – not always though, sometimes there's a real bug – just the long distances that affect especially pathfinding a lot. I'm currently working on a multithreading feature to keep at least the user interface responsive then, and eventually also boost the performance of critical code such as pathfinding. Top Quote |
niektory |
Posted at: 2020-09-08, 19:55
I can't access any files at all. It doesn't seem like you enabled public access. Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-09-08, 20:26
I changed the access option. My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
niektory |
Posted at: 2020-09-09, 03:02
Thanks for the save. I was able to find one badly performing function by profiling it: #4242 Here's Build 21 with the fix if you don't mind compiling it yourself: build-21_optimize_object_checking Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-09-09, 06:06
Thx, I will try it. My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
MarkMcWire Topic Opener |
Posted at: 2020-09-09, 08:02
deleted message Edited: 2020-09-09, 09:28
My widelands addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
kaputtnik |
Posted at: 2020-09-09, 09:06
I guess you need to install some build tools to be able to build widelands. Depending on your operating system the build tools are different Top Quote |