Skip to content

perf: early exit for pathIsInfolder (19% faster)#794

Merged
shetzel merged 11 commits intomainfrom
qa/732
Jul 15, 2025
Merged

perf: early exit for pathIsInfolder (19% faster)#794
shetzel merged 11 commits intomainfrom
qa/732

Conversation

@shetzel
Copy link
Collaborator

@shetzel shetzel commented Jul 15, 2025

Clone of #732 with bumped dependencies for tests.

ALL CREDIT GOES TO @lukecotter

What does this PR do?
pathIsInfolder will exit as early as possible,.
This improved overall sf project deploy start times in my project by ~19%

What issues does this PR fix or reference?
Combined with isomorphic-git/isomorphic-git#2023 in isomorphic git I was seeing roughly 45 - 50% faster times working out the changed files to deploy.
there are also some isomorphic-git/isomorphic-git#2063

If it is accepted it would be great to upgrade that too.
Do you want me to create an issue on the issues repo?

[skip-validate-pr]

@shetzel shetzel requested a review from a team as a code owner July 15, 2025 16:21
@shetzel shetzel merged commit 7891705 into main Jul 15, 2025
21 of 22 checks passed
@shetzel shetzel deleted the qa/732 branch July 15, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants