Description
Rio’s startup time seems to increase significantly when the config.toml file contains many lines, even if most of the config is just regular static settings.
With a blank or very minimal config file, the startup is instantaneous. But a larger config file makes startup noticeably slower, sometimes by more than 5 seconds!
Expected Behaviour
Rio should start quickly even when the config file is fairly large, assuming the config is valid.
Actual Behaviour
Startup time increases noticeably as the number of lines in config.toml grows
Steps to Reproduce
- Start Rio with an empty or minimal config.toml
- Observe that startup is instant
- Add a larger config file with many settings/sections
- Start Rio again
- Startup is noticeably slower
Notes
This seems related to the size/number of lines in the config file rather than a specific setting, but I am not fully sure yet. A minimal config starts instantly, while my full config causes a visible delay.
It might be useful to check whether config parsing, validation, font resolution, theme loading, or symbol map processing is happening synchronously during startup.
Environment
- OS: Windows 11
- Rio version: 0.4.5
Description
Rio’s startup time seems to increase significantly when the config.toml file contains many lines, even if most of the config is just regular static settings.
With a blank or very minimal config file, the startup is instantaneous. But a larger config file makes startup noticeably slower, sometimes by more than 5 seconds!
Expected Behaviour
Rio should start quickly even when the config file is fairly large, assuming the config is valid.
Actual Behaviour
Startup time increases noticeably as the number of lines in config.toml grows
Steps to Reproduce
Notes
This seems related to the size/number of lines in the config file rather than a specific setting, but I am not fully sure yet. A minimal config starts instantly, while my full config causes a visible delay.
It might be useful to check whether config parsing, validation, font resolution, theme loading, or symbol map processing is happening synchronously during startup.
Environment