Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove redundant parsing of original files #9424

Merged

Conversation

jakecoffman
Copy link
Member

@jakecoffman jakecoffman commented Apr 3, 2024

In #8963 I made DependencySnapshot aware of multiple directories, so we can remove this TODO now.

This should speed up all grouped updates a small amount because it was re-parsing the files an extra time for each group.

Now we can simply do dependency_snapshot.dependencies which will return what DependencySnapshot parsed at the beginning of the job run.

@jakecoffman jakecoffman requested a review from a team as a code owner April 3, 2024 17:33
@jakecoffman
Copy link
Member Author

I should mention that the code I'm removing was added in #8803, and we have a test for that case which is still passing. So this should be good to go!

@jakecoffman jakecoffman merged commit 4784dc0 into main Apr 3, 2024
140 checks passed
@jakecoffman jakecoffman deleted the jakecoffman/remove-redundant-parsing-of-original-files branch April 3, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants