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

[TRACKER] Improving editor startup time #19979

Open
1 task
toger5 opened this issue Jul 5, 2018 · 6 comments
Open
1 task

[TRACKER] Improving editor startup time #19979

toger5 opened this issue Jul 5, 2018 · 6 comments

Comments

@toger5
Copy link
Contributor

toger5 commented Jul 5, 2018

The editor startup time is not too bad, but there is (of course) play for improvement:

Pls comment below if you have ideas which is slowing down the editor startup and how it can be improved.

Possible Improvements:

Ideas that could slow down startup:

@Calinou
Copy link
Member

Calinou commented Jul 5, 2018

In my experience, the editor starts up faster if you build with target=release_debug use_lto=yes.

@akien-mga akien-mga changed the title Improve editor startup time [tracker] [TRACKER] Improving editor startup time Jul 5, 2018
@Zylann
Copy link
Contributor

Zylann commented Jul 5, 2018

I know that probably due to #11030, the editor is slower to start on Windows with nVidia cards due to an issue on driver level (it slows everything that relies on yielding frames for example). On my laptop if I launch it using the less-powerful Intel graphics I can get it open a lot faster (within seconds).

@toger5
Copy link
Contributor Author

toger5 commented Jul 5, 2018

It would also be really cool, when we could add some debug prints during startup to see what parts take how long to launch?

@Calinou
Copy link
Member

Calinou commented Dec 30, 2019

Slightly off-topic, but I believe we could improve perceived performance when loading the editor by adapting the splash screen's background color to match the editor background color. This makes the transition between the splash screen and the editor window more subtle.
Edit: Done in #47119.

This should be done dynamically, so that it can match both dark and light editor themes (including gray or solarized variants). When using a light theme, the logo should use dark text as to be readable, and sponsors should be put on a dark background somehow.

Icon svg to png conversion on every startup could be cached

I like the idea, but couldn't this end up being slower on a HDD? While most Godot users are probably using a SSD by now, people on old machines shouldn't be penalized (as this is where Godot is the slowest to start).

@lawnjelly
Copy link
Member

lawnjelly commented May 16, 2022

Just throwing these in here rather than starting a new issue, these are some profiles for master (4.x) I made today for starting the project manager, and the editor. These are release builds on Linux.

Project Manager
profile_master_project_manager

Editor with simple project (GLES3)
profile_master_editor_startup

Notable it seems to spend a good amount of time in the font code.
#60781 and #60463 may be relevant here (thanks to @Calinou for pointing these out).

@bruvzg
Copy link
Member

bruvzg commented May 18, 2022

#60781 is not intended to make the editor start faster, but to avoid stutters when visual scripts/shaders are used (MSDF fonts are slow to rasterize).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

6 participants