pure icon indicating copy to clipboard operation
pure copied to clipboard

pure seems slow?

Open uhthomas opened this issue 7 months ago • 1 comments

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?

uhthomas avatar Jun 10 '25 08:06 uhthomas

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

edouard-lopez avatar Jun 11 '25 09:06 edouard-lopez

Closing as no feedback and not reproduced.

edouard-lopez avatar Jul 01 '25 14:07 edouard-lopez

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

QuentinBrosse avatar Sep 18 '25 14:09 QuentinBrosse

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.

edouard-lopez avatar Sep 22 '25 08:09 edouard-lopez