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

Windows debugger: Load the dialogs on demand. #15138

Merged
merged 3 commits into from
Nov 13, 2021
Merged

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Nov 13, 2021

I think this is especially good for the GeDebugger dialog since we now can avoid initializing that extra GL context unless you open the dialog.

This actually saves as much as a second of startup time on Windows. Maybe doesn't seem important, but when developing and iterating on stuff, the less you have to wait the better.

Additionally, optimizes CleanRecent for an extra 150ms savings (in my testing).

See #15137

I think this is especially good for the Ge dialog since we now can avoid
initializing that extra GL context unless you open the dialog.
@hrydgard
Copy link
Owner Author

Just gonna go ahead and merge. There's a small risk it might regress some secondary path for opening these dialogs, but if so, should be easy to fix.

@hrydgard hrydgard merged commit 87d2e16 into master Nov 13, 2021
@hrydgard hrydgard deleted the delay-load-dialogs branch November 13, 2021 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant