Skip to content

Implement parallel route loading and add performance stats#1273

Draft
adfriz wants to merge 1 commit into
leezer3:masterfrom
adfriz:parallel-loading
Draft

Implement parallel route loading and add performance stats#1273
adfriz wants to merge 1 commit into
leezer3:masterfrom
adfriz:parallel-loading

Conversation

@adfriz

@adfriz adfriz commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Still heavily WIP, from my personal test some route can be 4 seconds faster from around 7 seconds without it.

Need more test for macos and linux.

@leezer3

leezer3 commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Something isn't quite right with the threading here- I'm not entirely sure what yet.

Take a (very) large folder of routefiles, and open in the main game.
Then start quickly shifting between them.

At some point, the TextureManager is disposed of by something, and this then chucks exceptions on every further texture it attempts to load.

I'd also be a little cautious of how large the caches are allowed to get.

@adfriz adfriz marked this pull request as draft May 8, 2026 15:42
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