rwe icon indicating copy to clipboard operation
rwe copied to clipboard

Poor performance on Abysmal Lake

Open MHeasell opened this issue 6 years ago • 2 comments

RWE runs very slowly/consumes a lot of CPU on Abysmal Lake.

I suspect that this map may have a much larger feature count than most maps due to the large number of foliage features. This is likely to be a significant factor.

MHeasell avatar Dec 24 '18 00:12 MHeasell

I ran some profiling using callgrind on a -Og build on Caldera's Rim. Your suspicion regarding the rendering cost of the map features is the right one:

graph

callgrind.zip

PHLF avatar Jul 11 '19 20:07 PHLF

I did some very cursory profiling (so, take w/ grain of salt) looking into these further, and my intuition is that a large portion of time is spent fetching database data, rather than actually rendering. So maybe selecting different or implementing specialized structures in a few cases will end up helping.

KevinHake avatar May 01 '21 04:05 KevinHake