Home GnuPG
Diffusion GnuPG ceac6e9e6c08

assuan: Use exponential decay for first 1s of spinlock.
ceac6e9e6c08Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

assuan: Use exponential decay for first 1s of spinlock.

* common/asshelp.c (wait_for_sock): instead of checking the socket
every second, we check 10 times in the first second (with exponential
decay).

This cuts the wall clock time for the standard test suite roughly by
half.

  • GnuPG-bug-id: T3490
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Nov 8 2017, 4:26 PM

Commit No Longer Exists

This commit no longer exists in the repository.