Skip to content
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

Small performance issues #16

Open
ma2ciek opened this issue Jan 27, 2020 · 0 comments
Open

Small performance issues #16

ma2ciek opened this issue Jan 27, 2020 · 0 comments

Comments

@ma2ciek
Copy link

ma2ciek commented Jan 27, 2020

There's a noticeable delay after pressing enter and waiting for the prompt. I've checked and on my machine the scripts needs ~80-90ms to run on average mainly due to synchronously spawned child processes.

I've tried to change the logic to more asynchronous, but running few git tasks in parallel didn't helped me much, I was able to cut off only ~10-15ms of the script execution time. I've been thinking also about some kind of server running in the background and updating only changed parts of the prompt, but this would be hard to implement and maintain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant