triplea icon indicating copy to clipboard operation
triplea copied to clipboard

2.6: Startup is slow due to GameNotesMigration.extractGameNotes().

Open asvitkine opened this issue 2 years ago • 0 comments

I profiled TripleA start up and I noticed that the main thing responsible for a slow startup and taking a while to show the initial game screen is GameNotesMigrator.extractGameNotes(). It was taking ~5 seconds. Screen Shot 2022-06-26 at 10 28 56 AM

I don't think we should be doing this for all maps synchronously on startup. We should either do it in the background, not blocking startup, or do it on demand when needed by a map.

asvitkine avatar Jun 26 '22 14:06 asvitkine