Replies: 1 comment 6 replies
-
Thanks a lot for reporting, these are interesting findings! Admittedly, I never dropped caches before when testing, and maybe that makes all the difference. I did, however, notice occasional very large slowdowns, maybe in the same range even. Ideally there was a way to reproduce this on MacOS as well so it can be profiled more easily. Something I'd find interesting is if you'd get similar results without dropping caches. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I have written a git status plugin for Bash called bash-git-status, which previously leveraged git-status to detect and prompt users about a Git repository's status:
Now that gix status is ready, I followed starship#6476 to re-implement this function in hope of better performance. You may find the current implementation here:
AOSC-Dev/bash-git-status#1
However, I found that the performance improvements, while significant, is not consistently found in all cases. For instance, in a "clean" (unchanged) aosc-os-abbs copy, I observed an 1.3x improvement in response time; however, in a "clean" linux copy, the reponse time worsened by about 5x.
The benchmark results are as follows, using
linux
get 5x slower withunchanged
oruntracked
:changed:
Test Enviromment:
Beta Was this translation helpful? Give feedback.
All reactions