Performance regression, 2.2.3/recent?

Phil Pennock gnupg-users at
Wed Dec 6 01:21:32 CET 2017

On 2017-12-04 at 18:20 +0900, NIIBE Yutaka wrote:
> It seems that pubring.kbx is accessed recursively (something by depth 3,
> by fd: 4, 7 and 10 (fd 3 is to check the file type, I guess)).
> Could you please try with --no-expensive-trust-checks option, if it
> changes the behavior?

Yes: changes output and changes runtime.

  time gpg --no-expensive-trust-checks --with-colons --with-fingerprint --with-subkey-fingerprint --with-secret --list-keys > foo4

  171.50s user 1.53s system 98% cpu 2:55.07 total

That's much nicer run-time, but:

  -rw-r----- 1 pdp pdp   3648007 Dec  3 19:24 foo3
  -rw-r----- 1 pdp pdp   3618838 Dec  5 19:15 foo4

The script is a state dump for backups and analysis, the second column
being missing loses the evaluated trust.  However, if I already have a
`gpg --export-ownertrust` then I _think_ I have everything needed, so
can safely lose this, right?


More information about the Gnupg-users mailing list