Opened 7 years ago
Closed 7 years ago
#1074 closed enhancement (fixed)
Bgu playerlist presents a large chili load
Reported by: | beherith | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | BAR Beta release |
Component: | BAR | Version: | |
Keywords: | Cc: |
Description
I tested with 8 bots, and found that bgu playerlist represents around 3ms load per draw frame.
Attachments (1)
Change History (6)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
also, was this before widget:GameStart? It has to do some polling for faction/substitutes, but once the game has started its Update load drops.
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There is nothing actually wrong here - but it has to poll alot of information for updates and the rate needs to be set sensibly. So much info is involved that there has to be polling for at least some of it, although it does do a targeted update for the important cases.
It was every 0.2 secs, now its every 1 sec.
comment:4 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Its unfortunately not caused by the widget updates itself. It just spawns so many controls it sends chili into a deathspiral:D
To reproduce, launch with this script (8 Shards on DSD with BAR $Version), enable widget profiler, watch frame rate and chili load in profiler as you activate and deactivate playerlist.
by , 7 years ago
Attachment: | _script - BAR DSDR 8SHARD.txt added |
---|
8 shards on DSD (drag onto spring.exe to launch)
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
missing prevTimer=timer spammed Invalidate()
lua load (i.e. visible in widget profiler) or gfx card load (i.e. not visible in widget profiler)?