Skip to content

Conversation

@Catizard
Copy link
Collaborator

@Catizard Catizard commented Sep 23, 2025

Related to #83, this pr delays the two steps after downloading file:

  • Extract archive file
  • Update songdata.db contents

to reduce the performance impact when playing BMS

Here's a flame graph when trying to download bms at background while playing
image

@Catizard Catizard force-pushed the feat/delay_extract_after_downloading branch from af23814 to c411b21 Compare September 23, 2025 10:57
@Catizard Catizard marked this pull request as ready for review September 23, 2025 11:03
if (main.getCurrentState() instanceof BMSPlayer) {
// Do nothing
} else if (!waitingExtractArchives.isEmpty()) {
main.setSuspendPlaySceneTransition(true);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This presents a serious issue to user experience, as we talked on discord we should have a scene or some indication that play is suspended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants