sapling/eden/fs/testharness
Katie Mancini 8a1a529fcc use custom in memory tree cache
Summary:
Chad first noted that deserializing trees from the local store can be expensive.
From the thrift side EdenFS does not have a copy of trees in memory. This
means for glob files each of the trees that have not been materialized will be
read from the local store. Since reading an deserializing trees from the local
store can be expensive lets add an in memory cache so that some of these
reads can be satisfied from here instead.

Here we actually start to use the cache!

Reviewed By: chadaustin

Differential Revision: D27050310

fbshipit-source-id: e35db193fea0af7f387b6f44c49b5bcc2a902858
2021-04-27 17:38:40 -07:00
..
test model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
CMakeLists.txt use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeBackingStore.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
FakeBackingStore.h enable skipping Metadata prefetches during eden prefetches 2020-11-11 16:30:02 -08:00
FakeClock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeFuse.cpp utils: compile the tests with @mode/win 2020-10-22 12:52:13 -07:00
FakeFuse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeObjectStore.cpp use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
FakeObjectStore.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
FakePrivHelper.cpp privhelper: allow mounting via NFS on macOS 2021-04-06 14:17:00 -07:00
FakePrivHelper.h privhelper: allow mounting via NFS on macOS 2021-04-06 14:17:00 -07:00
FakeTreeBuilder.cpp model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
FakeTreeBuilder.h Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.cpp dynamicconfig: backout D26801059 that enabled no-repo configs 2021-04-15 09:00:19 -07:00
HgRepo.h skip edenfs tests when tsan is enabled 2020-12-01 10:18:53 -08:00
InodeUnloader.h enable the checkout tests on Windows 2020-04-26 21:14:24 -07:00
LoggingFetchContext.h add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StoredObject.h fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
TempFile.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
TempFile.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestChecks.h refactor - move ObjectFetchContext to its own file 2020-06-23 10:02:40 -07:00
TestDispatcher.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
TestDispatcher.h inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
TestMain.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMount.cpp use custom in memory tree cache 2021-04-27 17:38:40 -07:00
TestMount.h use custom in memory tree cache 2021-04-27 17:38:40 -07:00
TestServer.cpp introduce metadata importer 2020-07-10 16:03:32 -07:00
TestServer.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00