Skip to content

perf: optimize performance for charts with lots of large textures#540

Merged
sjfhsjfh merged 5 commits intoTeamFlos:mainfrom
ChickenPige0n:main
Apr 26, 2025
Merged

perf: optimize performance for charts with lots of large textures#540
sjfhsjfh merged 5 commits intoTeamFlos:mainfrom
ChickenPige0n:main

Conversation

@ChickenPige0n
Copy link
Copy Markdown
Member

share identical texture across lines to save memory use (potential fps boost by avoiding context switch)
avoid drawing texture when the line is transparent (alpha <= 0.01)

fps performance before this pr: (release build, chart #35849)
image

fps performance after this pr: (release build, chart #35849)
image

@sjfhsjfh sjfhsjfh merged commit a30ff5c into TeamFlos:main Apr 26, 2025
1 check passed
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.

1 participant