sapling/eden/fs/testharness
Xavier Deguillard fdbf7eadfb store: add telemetry for LocalStore operations
Summary:
We've seen a case where a large `hg update` was taking an absurdly long time in
`ObjectStore::getTree` but the telemetry was showing us that most of the time
wasn't spent fetching trees from Mercurial! The suspicion is that most of the
time was spent in the LocalStore but with no evidence to prove it.

Let's thus add some timing telemetry to various LocalStore read requests to
fill this gap.

Reviewed By: mshroyer

Differential Revision: D46154456

fbshipit-source-id: b439ac48889ed3db71db136ff6c1cc91f48c926a
2023-05-25 15:48:11 -07:00
..
test add an InodeBase::getObjectId accessor 2023-05-16 18:13:53 -07:00
CMakeLists.txt common: rename utils -> edencommon_utils 2022-08-16 11:23:53 -07:00
FakeBackingStore.cpp store: make BackingStore return shared_ptr instead of unique_ptr 2023-05-18 12:30:08 -07:00
FakeBackingStore.h store: make BackingStore return shared_ptr instead of unique_ptr 2023-05-18 12:30:08 -07:00
FakeClock.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
FakeFuse.cpp sys/socket: replace with Folly's portability header 2022-06-17 09:52:56 -07:00
FakeFuse.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
FakeObjectStore.cpp decouple ObjectFetchContext lifetime from RequestContext 2022-11-15 13:35:45 -08:00
FakeObjectStore.h decouple ObjectFetchContext lifetime from RequestContext 2022-11-15 13:35:45 -08:00
FakePrivHelper.cpp use the same PrivHelper interface on all platforms 2023-05-17 09:07:32 -07:00
FakePrivHelper.h use the same PrivHelper interface on all platforms 2023-05-17 09:07:32 -07:00
FakeTreeBuilder.cpp format path types with fmt instead of folly/Conv 2022-11-15 15:40:33 -08:00
FakeTreeBuilder.h store: make BackingStore return shared_ptr instead of unique_ptr 2023-05-18 12:30:08 -07:00
HgBinary.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
HgBinary.h fs: fix license header 2022-01-04 15:00:07 -08:00
HgRepo.cpp prepare EdenFS tests for a world without HgImporter 2022-12-01 15:02:14 -08:00
HgRepo.h prepare EdenFS tests for a world without HgImporter 2022-12-01 15:02:14 -08:00
InodeUnloader.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
LoggingFetchContext.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
StoredObject.h store: make BackingStore return shared_ptr instead of unique_ptr 2023-05-18 12:30:08 -07:00
TempFile.cpp standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
TempFile.h standardize namespaces on C++17 syntax 2022-05-17 10:12:56 -07:00
TestChecks.h fs: fix license header 2022-01-04 15:00:07 -08:00
TestDispatcher.cpp replace ImmediateFuture's default constructor with an in_place constructor 2022-12-19 13:11:02 -08:00
TestDispatcher.h decouple ObjectFetchContext lifetime from RequestContext 2022-11-15 13:35:45 -08:00
TestMain.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
TestMount.cpp store: add telemetry for LocalStore operations 2023-05-25 15:48:11 -07:00
TestMount.h break EdenMount.h's dependency on Nfsd3.h 2023-05-11 11:55:24 -07:00
TestServer.cpp remove the reference-counting overhead from DurationScope 2023-03-24 13:50:40 -07:00
TestServer.h expose startup status on thrift server 2023-01-27 15:48:56 -08:00
TestServerState.cpp remove the reference-counting overhead from DurationScope 2023-03-24 13:50:40 -07:00
TestServerState.h testharness: add TestServerState 2022-05-10 18:52:04 -07:00
TestUtil.cpp Subscribe ActivityBuffer to inodeTraceBus 2022-07-11 19:19:33 -07:00
TestUtil.h Add template to ActivityBuffer 2022-08-02 13:41:53 -07:00