Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Trophy Manager loading times #10414

Merged
merged 3 commits into from Jun 6, 2021
Merged

Conversation

Megamouse
Copy link
Contributor

By only loading trophy icons on a need to know basis, we can decrease the initial trophy manager loading times to a fraction of what it currently takes.

@Megamouse Megamouse added GUI Trophies Optimization Optimizes existing code labels Jun 6, 2021
@RainbowCookie32
Copy link
Contributor

Working as expected here. The time to open the trophy manager went from ~15s to 5s tops for me 👍

Also cache existing trophy icons
The missing mutex frequently caused a crash after I improved the individual trophy folder parsing by deferring icon loading to when it is actually needed.
@Megamouse Megamouse merged commit 2eebecf into RPCS3:master Jun 6, 2021
@Megamouse Megamouse deleted the deafa branch June 6, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI Optimization Optimizes existing code Trophies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants