#(kristouffe) Performance impact of updating bossbars every tick?

5 messages · Page 1 of 1 (latest)

thorny heath
#

Quick performance question.

I'm updating a per-player bossbar every tick to show a dynamic timer for a flight system. Each player has their own bossbar (so potentially dozens of them active at once).

Is there any known performance impact from updating bossbars this frequently?
Would it be better to update them every few ticks instead, especially with a higher number of players online? Wanted the animation as smooth as possible

Thanks in advance for any insights!

fading tokenBOT
#

(kristouffe) Performance impact of updating bossbars every tick?

fading tokenBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

ember peak
#

Just from experience, yes it can cause lag depending on your server specs and the numbers of players online. I have some flying games as well an I use a 6t delay between updates. Seems to be a nice balance between performance and user experience.