ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.16k stars 2.25k forks source link

Many short slow moving taiko spinners cause high CPU consumption #8621

Open jai-x opened 4 years ago

jai-x commented 4 years ago

Describe the bug:

Reproducible on this beatmap when playing with Auto mod: https://osu.ppy.sh/beatmapsets/481441

The beatmap has two groups of slow moving spinners which appear to be causing performance issues, with FrameStabilityContainer and ScrollingHitObjectContainer being the top CPU consumers.

Update and Draw FPS go down to about 20 from 300.

After both spinner groups have been played and are not longer present on the screen, the CPU consumption goes back to normal.

Screenshots or videos showing encountered issue:

Beatmap at 0:23 as the first group of spinners are being played: first_spinner_group

Beatmap at 3:51 as the second group of spinners are bing played: second_spinner_group

Beatmap at 4:13 after the the second group of spinner have been played: after_spinner_group

osu!lazer version: 2020.404.0

Logs: logs.zip

peppy commented 4 years ago

Not 100% sure this is limited to the swell display. The whole map is using higher than expected CPU, potentially due to the other slow moving hitobjects.