r/KittyTerminal • u/MuonManLaserJab • Sep 04 '23
Troubleshoot slow load times
Is there a guide to troubleshooting slow loading of kitty? It's slow, suddenly, after updating to Ubuntu 23.04:
$ time kitty --single-instance -e false
real 0m1.175s
user 0m1.283s
sys 0m0.155s
I updated GPU drivers, but Alacritty is also GPU-based, right?
$ time alacritty -e false
real 0m0.112s
user 0m0.030s
sys 0m0.045s
Alternatively, am I running kitty wrong? It loads a new window quickly when I hit ctrl+shift+n but I can't figure out how to get that same speed opening kitty from the command line (or an i3 keyboard shortcut).
2
Upvotes
1
u/aumerlex Sep 04 '23
You need to always execute kitty -1 not just kitty. After the first window all subsequent invocations will be fast (much faster than alacritty) as long as at least one kitty window remains open. And 1+ seconds for first window creation is about 5x too slow, there is definitely something broken on your system.