Home GnuPG
Diffusion GnuPG a2c199affb8e

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
rG08ff55bd44ae: kbx: Use custom estream buffering
Branches
Unknown
Tags
Unknown