From: Eric Wong Date: Fri, 29 Nov 2019 12:25:05 +0000 (+0000) Subject: git: async batch interface X-Git-Tag: v1.3.0~236 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=46baf956987dca495ed44b1050e64939fae5c8ab;hp=46baf956987dca495ed44b1050e64939fae5c8ab;p=public-inbox.git git: async batch interface This is a transitionary interface which does NOT require an event loop. It can be plugged into in current synchronous code without major surgery. It allows HTTP/1.1 pipelining-like functionality by taking advantage of predictable and well-specified POSIX pipe semantics by stuffing multiple git cat-file requests into the --batch pipe With xt/git_async_cmp.t and GIANT_GIT_DIR=git.git, the async interface is 10-25% faster than the synchronous interface since it can keep the "git cat-file" process busier. This is expected to improve performance on systems with slower storage (but multiple cores). ---