Home GnuPG
Diffusion GnuPG ed3b285cdcef

kbx: For non-Windows use 64k buffers by default instead of 128k.

Description

kbx: For non-Windows use 64k buffers by default instead of 128k.

* kbx/keybox-init.c (DEFAULT_LL_BUFFER_SIZE): New.

A simple gpg --check-sigs benchmark showed on Linux a small
performance peak at around 64k (5m52 vs. 6m8 for 128k and 6m33 for
system size).

Details

Provenance
wernerAuthored on May 8 2023, 1:09 PM
Parents
rG69b0fa55f610: kbx: Use custom estream buffering
Branches
Unknown
Tags
Unknown