Slow startup speed
tbaumann opened this issue · comments
Hi,
is there some easy way to profile this app to see where it's spinning during startup?
I feel a very noticeable delay between startup and when the popup is visible and accepting inputs. (Like many hundreds of milliseconds for sure)
It's very irritating. I'm always losing the first letters I type.
I'm using the Nix home manager module. I disabled a some plugins that threw errors but it's still bad.
programs.anyrun = {
enable = true;
config = {
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
rink
shell
translate
];
width.fraction = 0.3;
y.absolute = 15;
closeOnClick = true;
hidePluginInfo = false;
};
› anyrun
Error reading applications plugin config: No such file or directory (os error 2)
Error reading directory /nix/store/klsgj0xh08ccgvn321yi8lclixwyf9qj-swayfx-0.3.2/share: No such file or directory (os error 2)
Error reading directory /nix/store/gfp30ph6l28vz62ggcl7j2b5sp22j1hy-gsettings-desktop-schemas-45.0/share/gsettings-schemas/gsettings-desktop-schemas-45.0: No such file or directory (os error 2)
Error reading directory /nix/store/8yicinmsnqmlkgvmzh468bi0bsap0fix-gtk+3-3.24.39/share/gsettings-schemas/gtk+3-3.24.39: No such file or directory (os error 2)
Error reading directory /nix/store/y88jjfcca2mdl5b6yacc72sym1nhgjii-desktops/share: No such file or directory (os error 2)
Error reading directory /nix/profile/share: No such file or directory (os error 2)
Error reading directory /home/tilli/.local/state/nix/profile/share: No such file or directory (os error 2)
Error reading directory /nix/var/nix/profiles/default/share: No such file or directory (os error 2)
I don't think the non existing applications directories can be responsible for much of that.
Any ideas?
Some other launchers have a background mode where the app is brought into foreground via a IPC command. That should be near instantaneous.
This appears to be fixed in the latest version.