I’ve been having a lot of fun trying to migrate from Neovim to Kakoune over the past few weeks, but there is one recurring theme that’s been a surprising problem for me: performance.
I’m finding certain interactions quite a bit slower than Vim, which is jarring and counter to my intuitions since my Vim setup is more “fully loaded”. Here are some things I noticed that are noticeably slower:
Startup time
I’ve read through this thread, but even using Dash, I can’t get time kak -e "quit" below 310ms which is 50% slower than Vim for me. I forced myself to get over it and also started using a script that will reuse a session based on the current directory.
Fwiw I symlink to the system autoload directory and have a few files of my own in autoload, but not much. I also see that kak -n is way faster, but as soon as I have a kakrc, things slow down.
Opening files
Opening files has a noticeable latency compared to Vim. This started becoming really noticeable when I added a command that opens FZF in a Kitty overlay pane. When selecting a file, FZF will close and show the old buffer briefly before switching to the new one:

Formatting
I use Ruff for formatting Python code, but invoking it in Kakoune using format_cmd has a slight delay. Using set global debug profile indicates that it’s taking ~120ms, but running the equivalent command in the shell takes 15ms:
shell execution took 110355 us (spawn: 945, wait: 108876)
command execute-keys took 111312 us
command nop took 1 us
command evaluate-commands took 111579 us
command format-selections took 119210 us
command evaluate-commands took 119643 us
command format took 119685 us
Git integration
This one is kind of random, but something I use frequently. :git apply --reverse<ret> is waay slower than the Vim equivalent (which is ~instant) I get through the gitsigns.nvim plugin.
I could go on, but you get the idea
. Not trying to nitpicking as I genuinely really like Kakoune. I’m mostly trying to understand if this is just me or an inherent limitation of Kakoune’s reliance on shell scripting. Would love to hear if other converts have run into this and how you have worked around if it it’s something you cared about.