Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

gitserver: Fix duration reported for ChangedFiles#62603

Merged
eseliger merged 2 commits intomainfrom
es/05-10-gitserverfixdurationreprotedforchangedfiles
May 13, 2024
Merged

gitserver: Fix duration reported for ChangedFiles#62603
eseliger merged 2 commits intomainfrom
es/05-10-gitserverfixdurationreprotedforchangedfiles

Conversation

@eseliger
Copy link
Member

We always ended the observation when the iterator is created before, this will make sure to track the time until the call to Close().

Test plan:

Code review, existing CI.

@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from 724a2e8 to 0fff38b Compare May 10, 2024 20:29
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from 4f8fa5f to d72bec5 Compare May 10, 2024 20:29
@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from 0fff38b to ca7ccd8 Compare May 10, 2024 20:35
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from d72bec5 to 58c7993 Compare May 10, 2024 20:35
@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from ca7ccd8 to 30fffe6 Compare May 10, 2024 22:25
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from 58c7993 to d6d0969 Compare May 10, 2024 22:25
@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from 30fffe6 to ebd8014 Compare May 10, 2024 22:30
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from d6d0969 to 245f9d6 Compare May 10, 2024 22:30
@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from ebd8014 to c975ea1 Compare May 10, 2024 22:37
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from 245f9d6 to 8d42c6f Compare May 10, 2024 22:37
@eseliger eseliger changed the title gitserver: Fix duration reproted for ChangedFiles gitserver: Fix duration reported for ChangedFiles May 13, 2024
@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from c975ea1 to 6c0847c Compare May 13, 2024 02:06
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from 8d42c6f to 683aa34 Compare May 13, 2024 02:06
eseliger added 2 commits May 13, 2024 05:37
There is potentially a lot of FDs in a repo, so we return an iterator instead to encourage callers to consume it one by one and not load all of it into memory.

Test plan:

Existing tests still pass.
We always ended the observation when the iterator is created before, this will make sure to track the time until the call to Close().

Test plan:

Code review, existing CI.
@eseliger eseliger force-pushed the es/05-10-gitservermakereaddirreturnaniteratoronclientside branch from 6c0847c to 76f8aca Compare May 13, 2024 03:37
@eseliger eseliger force-pushed the es/05-10-gitserverfixdurationreprotedforchangedfiles branch from 683aa34 to dfd8c89 Compare May 13, 2024 03:37
@eseliger eseliger marked this pull request as ready for review May 13, 2024 03:45
@eseliger eseliger requested a review from a team May 13, 2024 03:45
Base automatically changed from es/05-10-gitservermakereaddirreturnaniteratoronclientside to main May 13, 2024 12:24
@eseliger eseliger merged commit 7d1a0d1 into main May 13, 2024
@eseliger eseliger deleted the es/05-10-gitserverfixdurationreprotedforchangedfiles branch May 13, 2024 12:38
Copy link
Member Author

Merge activity

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants