pure seems slow?
Sorry, I don't mean this issue to be critical, pure seems like a cool project and I was interested in it mainly because tide hasn't seen a release in nearly two years.
I instantly noticed that there was a huge delay when executing commands, which is quite jarring. If I hold enter then the whole terminal freezes. Is this a known issue?
Hello, thanks for the feedback! I'm sorry to hear that. Could you provide more context so I can help you find a solution:
Env
Pure
❯ echo $pure_version
4.11.3
Fish
❯ fish --version
fish, version 4.0.2
OS/distribution
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 22.1
Release: 22.1
Codename: xia
For reference, here is the result of time fish_prompt in my $HOME directory (not a git repository):
~
❯ time fish_prompt
~
❯
________________________________________________________
Executed in 22.26 millis fish external
usr time 17.09 millis 15.76 millis 1.33 millis
sys time 5.16 millis 0.28 millis 4.89 millis
Closing as no feedback and not reproduced.
FTR: I had the same issue in Git repositories. I made it faster using async prompts: https://github.com/pure-fish/pure/wiki/Async-git-Prompt
Thanks for the comment, massive git repo could be a cause of slowness.
We migrated the wiki's page in the Troubleshooting section of the documentation.