mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
149e15f2ad
Summary: The former implementation would eagerly query Memcache when fetching history (due to how old futures work) for files in getpack, but the new one does not. This means the new one loses out on a lot of buffering, which the old one used to do. This diff emulates the old behavior by eagerly querying filenodes in getpack, which improves performance on a very big getpack (32K files) by about 3x, and makes it 30% faster than the old code, instead of > 2x slower. Note that I'm not certain we really want to do this kind of aggressive buffering in getpack long term, but for now, I'd like to keep this unchanged. Reviewed By: StanislavGlebik Differential Revision: D19905398 fbshipit-source-id: 49f9a2cd505a98123fd1dabb835e8e378d45c930 |
||
---|---|---|
.. | ||
getbundle_response/src | ||
mononoke_repo/src | ||
obsolete/src | ||
remotefilelog/src | ||
repo_read_write_status/src | ||
schemas | ||
scribe_commit_queue/src | ||
src | ||
streaming_clone/src | ||
unbundle/src | ||
wirepack/src |