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

Attempt to speed up startup #7602

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Noisyfox
Copy link
Collaborator

Attempt to speed up startup by:

  • Parallal loading system presets
  • Lazy creating tabs

@Noisyfox
Copy link
Collaborator Author

Noisyfox commented Nov 28, 2024

image
As we could see from the chart, lots of the start up CPU usages are wasted on creating things that will not be used immediately (such as the calibration page, the monitor page and preset diff dialog etc). If we could lazy init them will this make the startup much faster?

Though, this chart is gathered with RelWithDebInfo and optimization off. Not sure the real impact in Release mode.
Update: tried the Release mode and it behaves similarly.

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