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

Speed up program startup times #215

Closed
mathiascode opened this issue May 30, 2020 · 2 comments
Closed

Speed up program startup times #215

mathiascode opened this issue May 30, 2020 · 2 comments

Comments

@mathiascode
Copy link
Member

The startup time of Nicotine+ is pretty slow, which mainly stems from the fact that a lot of objects are initialized at startup, even if they're not needed yet or disabled (e.g. settings window, tray icon, plugin system). We should initialize things on-demand, which speeds up startup times a lot.

@kiplingw
Copy link
Member

I'm fine with the proposal. Although I'm only seeing it take about three seconds to load on my machine that's running Focal. Or did you test on Windows?

@mathiascode
Copy link
Member Author

Takes 2-3 seconds on my main system, somewhat slower in Windows for some reason. SoulseekQt starts in about half a second or less.

What seemed to be the main culprit is the settings window, not sure yet if something there in particular slows it down, or if it's just the sheer amount of settings and pages that hogs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants