[General] Low FPS/lags with huge map even without triggers

Level 28
Joined
Feb 2, 2006
Messages
1,630
Hi,
I am trying to improve the performance of my map which I only play with SD graphics.
First I suspected my scripts, so I removed all JASS except for basic initialization.
However, the FPS is still low and I experience lags.
Just for comparison: The original map World of Warcraft Reborn has about 200 FPS and more for me and this one from 110 down to 50 and random lags.
The original map has almost no custom models, is far smaller with less units and less custom object data.
I guess it is the map size/number of units.
Maybe some custom models have I very high poly count.
How can I improve the performance the most effective way?
Do I have to make the map smaller and place less units or can I just remove some other stuff like models?
The long loading time is because of the number of ability levels of 15 per hero ability and lots of races but this should not affect the performance during the game?

Here you can download the map and try it yourself: wowrstresstest.w3x
 
Last edited:
Are you running an AMD GPU? Because people were reporting a lot of FPS issues the past few months related to that (even during melee games in classic graphics):
Warcraft 3 reforged on AMD

There is a workaround listed in that thread that may help (but note that not all AMD GPUs are affected, so it is hard to say if that is related). I also heard that it seems to be fixed on the latest PTR patch so it may be worth trying to download the PTR and seeing if your performance improves.

If that isn't related, then the only real answer is to profile the map, and to divide and conquer. Make a copy of your map, and first remove any weather effects from regions. Note the FPS and see what kind of improvement you get. Then change all custom units to use default classic models, and then note the FPS and see what kind of improvement you get. Then try deleting all your custom assets and note the FPS and see what kind of improvement you get. etc. (delete object editor data, delete destructables on the map, etc.) It is very tedious, but it is a pretty reliable brute-force way to see what's impacting your map's fps the most. I just recommend having a good TV show/movie to watch in the background. :grin:

Otherwise, there's too many variables to really predict what would be the root cause. If I had to make a guess, it'd probably be some combination of visual effects/weather effects (since particles are quite expensive to render), but that's just a wild guess without having the map in my hands. :)

EDIT: Meant to write GPU.
 
Last edited:
Level 28
Joined
Feb 2, 2006
Messages
1,630
I am using a an NVIDIA not AMD but I am not sure what people reporting performance issues to me are using. They claim that other maps with more custom models do not lag.

I forgot to add the link to my map's version without scripts: wowrstresstest.w3x so you can try.

It might be specific custom models placed in the map from the beginning.

I will add chat commands to remove units from players and maybe even destructables to see if it affects the FPS in any way.

One user reported that this version without AI freezes every 2-3 seconds briefly.

edit:
Removing ALL units with a cheat increased the FPS up to 200. I suspect that some units might cause the low FPS or just the large number of units.
Removing ALL destructables increased FPS further to 210 or 220.
 
Last edited:
Top