pass is 15x slower on one machine than another. How to debug?

HacKan hackan at gmail.com
Sat Feb 16 00:41:15 CET 2019


Perhaps running pass directly with bash -x (it shows the whole execution
flow) could be helpful, combined with perf.

Cheers!

On 2/15/19 3:34 PM, Kevin Faulkner wrote:
> On Fri, 15 Feb 2019 09:20:20 +0800
> Ryan Lue <lists at ryanlue.com> wrote:
>
>> Hi,
>>
>> Suddenly, pass is v. slow on my desktop.
>>
>>     $ time pass ls
>>
>> shows 0.6s on my desktop vs. 0.04s on my laptop.
>> Both are comparably specced and running
>> nearly identical installations of Debian buster. 
>>
>> This only began a week or so ago, but for the life of me,
>> I can’t figure out what change caused it.
>>
>> Any suggestions re: how to debug this performance issue?
>>
>> —Ryan
>>
>> P.S. Thanks for an amazing utility.
>> _______________________________________________
>> Password-Store mailing list
>> Password-Store at lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/password-store
> Interesting, problem. I would suggest looking at running perf:
> ``perf stat -d pass ls``
> Or try using perf record the attempt, then use perf report to analyze
> it. While perf has its limitations it is likely to work on your Debian
> machine out of the box.
> Aside from that perhaps even using strace to see what is being done and
> could be failing or taking in in an attempt to do something. Problems
> like this are usually pretty fun to dig into, and will usually be very
> insightful into your system.
> Without more information or data I don't think we could give you
> anything to fix the issue you are having (maybe someone else knows more
> than me though!).
>
> Good luck
> -Kevin
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store

-- 
HacKan || Iván
GPG: 0x35710D312FDE468B

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190215/b5553a19/attachment.html>


More information about the Password-Store mailing list