diff options
author | Eric Wong <e@80x24.org> | 2019-11-29 12:25:05 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-12 03:51:14 +0000 |
commit | 46baf956987dca495ed44b1050e64939fae5c8ab (patch) | |
tree | 5ec1167e3db591de27a108f314ce8fdda8ad921b /examples | |
parent | 73fe3421f1ecbdc83600d5acfc643c33dbb9a0f2 (diff) | |
download | public-inbox-46baf956987dca495ed44b1050e64939fae5c8ab.tar.gz |
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).
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions