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

Kevin Faulkner kondor6c at lazytree.us
Fri Feb 15 19:34:07 CET 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190215/c9c7b80e/attachment.asc>


More information about the Password-Store mailing list