Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bdach
Copy link
Collaborator

@bdach bdach commented Nov 11, 2025

Probably closes #35650.

Realm slow, episode 23894. I can't reproduce freezes as big as the video in the issue is showing but 'realm slow' is 99% the culprit, because affected user's database is not small.

Probably closes ppy#35650.

Realm slow, episode 23894. I can't reproduce freezes as big as the video
in the issue is showing but 'realm slow' is 99% the culprit, because
affected user's database is not small.
@bdach bdach requested a review from a team November 11, 2025 07:55
@bdach bdach self-assigned this Nov 11, 2025
@bdach bdach added type/performance Deals with performance regressions or fixes without changing functionality. area:database Deals with local realm database quick fix Tasks which were taken on because they take no time to fix labels Nov 11, 2025
@bdach bdach moved this from Next up to Pending Review in osu! untitled project Nov 11, 2025
@smoogipoo
Copy link
Contributor

I guess I don't hate this in principle, the pause in the video is almost exactly 10 seconds long which is why it appears to be more API related somehow.

@bdach
Copy link
Collaborator Author

bdach commented Nov 11, 2025

the pause in the video is almost exactly 10 seconds long which is why it appears to be more API related somehow

Well yes looking at logs again the db freeze could be exacerbated by what appears to be a flow of

  • requesting online beatmap changes
  • causing beatmap invalidations and refetches
  • causing API requests for the beatmap
  • causing local metadata updates

but the fix for that is probably closer to ppy/osu-difficulty-calculator#241.

@smoogipoo smoogipoo merged commit cb9d973 into ppy:master Nov 11, 2025
7 of 9 checks passed
@github-project-automation github-project-automation bot moved this from Pending Review to Done in osu! untitled project Nov 11, 2025
@bdach bdach deleted the realm-overhead-collections branch November 11, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:database Deals with local realm database quick fix Tasks which were taken on because they take no time to fix size/S type/performance Deals with performance regressions or fixes without changing functionality.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Game freezes after adding a map to collection & takes a long time to enter a result screen

2 participants