1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-27 13:27:19 +08:00
Dean Herbert 2dd99ef1fd Refactor FPSCounter to not use scheduled tasks
While on the surface this looks harmless (ignoring allocations),
`Scheduler` doesn't clear cancelled tasks until they reach their
execution time. This can cause an increase in time spent processing the
scheduler itself.

I don't think a per-frame updating component should use scheduled tasks
in this way in the first place, so I've just rewritten the logic to
avoid that overhead altogether.
2022-07-25 16:26:48 +09:00
..
2022-06-17 16:37:17 +09:00
2022-06-17 16:37:17 +09:00
2022-06-17 16:37:17 +09:00
2022-06-17 16:37:17 +09:00
2022-06-17 16:37:17 +09:00
2022-06-17 16:37:17 +09:00