mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
8b49918ce1
Summary: xavierd and I realized that memcache is not actually enabled in EdenFS as `ContentStoreBuilder` only sets it when there is are remote store. We believe turning on memcache store can help us improve some performance for importing blobs (80% hit rate). This diff adds a noop remote store that does nothing to trick `ContentStoreBuilder` to include the memcache store. We decided to go this way instead of modifying `ContentStoreBuilder` is because EdenFS is going to have a real remotestore very soon, and changes to `ContentStoreBuilder` may have some impact on how Mercurial uses it. Reviewed By: xavierd Differential Revision: D21621234 fbshipit-source-id: 5502e001ab498134b6a927d83be823261e70e9e1 |
||
---|---|---|
.. | ||
c_api | ||
src | ||
test | ||
tools | ||
Cargo.toml | ||
cbindgen.toml | ||
CMakeLists.txt |