-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
detached sessions counter in _lp_jobcount_color is extremely slow #552
Comments
I'm assuming you use This isn't exactly a liquidprompt issue, since it's an issue with My guess is that the filesystem in that directory is slow, and
The |
As the issue is with |
Does @dogeared have any updates on this? Is there an issue in screen upstream? We are still facing this issue.
I am using version |
I still think that there is nothing Liquidprompt can do to fix this call being slow. However, I added a new config option in v2.0.0-beta.1: You can set |
Shell: bash
Operating system: Max OS X High Sierra
Liquid Prompt version (tag, commit):
eda83ef
With
LP_DEBUG_TIME=1
andLP_ENABLE_JOBS=1
, I am seeing these results:With
LP_ENABLE_JOBS=0
, I am seeing these results:Looking at the
_lp_jobcount_color
function, the culprit seems to be the first section:If I comment out the detached sessions section and set
LP_ENABLE_JOBS=1
, then the response is as performant as before:I've made sure that
screen
andtmux
are at the latest version withbrew
.Digging in a little further, it is the call to screen that's slowing everything down:
Any ideas why this may be happening?
The text was updated successfully, but these errors were encountered: