You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me, with 12 live ssh-agent sockets, running time ssh-find-agent yields ~80 to 120 ms. If it takes significantly longer for you, I suspect that you will find the actual time is being spent in line 90 talking to dead sockets.
ssh-find-agent is 50% of my shell startup time
Clearly a lot of time is spent at
https://github.com/wwalker/ssh-find-agent/blob/master/ssh-find-agent.sh#L76-L84
Where find is called multiple times against multiple paths.
I think we can do better:
-o
syntax of find, https://superuser.com/questions/1494617/what-is-the-o-argument-in-find-commandI'm going to look into how this works, but find is black magic and difficult, so I'm stating my intention here.
The text was updated successfully, but these errors were encountered: