retrohub-org / retrohub

Retrogaming library frontend, built to be a highly customizable platform.
https://retrohub-org.github.io/
MIT License
110 stars 6 forks source link

v0.2.0 is noticeably slower to launch #265

Open rsubtil opened 11 months ago

rsubtil commented 11 months ago

The latest v0.2.0 version is noticeably slower, taking 3\~5 seconds to launch, where v0.1.x took 1\~2 seconds.

Looking at a call graphs, it seems a lot of time is spent on Control layout and minimum size calculations. Possibly this means Godot re-created the UI layout everytime a node is added, and for games that's a lot of wasted effort.