pitchfork cd is slow #439
jordan-turbofish
started this conversation in
General
Replies: 2 comments 1 reply
-
|
PROCS does have some performance issues. will fix it soon! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
will fix in #441 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi. I started using pitchfork recently, and noticed that changing directories was slow. Tracing with bpftrace, I could see that
pitchfork cdwas taking 500ms to run. Looking closer, I found that the call to PROCS.is_running was taking up most of the time, because it is refreshing the state of every process in the system. I think for cd it is just looking for the supervisor pid to see if it needs to be started, so could this be narrowed to not look up every process?Beta Was this translation helpful? Give feedback.
All reactions