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

Speed up dvc files load #4417

Merged
merged 3 commits into from
Aug 26, 2020
Merged

Speed up dvc files load #4417

merged 3 commits into from
Aug 26, 2020

Conversation

Suor
Copy link
Contributor

@Suor Suor commented Aug 18, 2020

See ._load() implementation. Alternative is not using 3 io calls, but
simply use open and catch exceptions.

Reading is slow for old git revisions.

@Suor Suor requested review from pmrowla and efiop August 18, 2020 12:40
@Suor Suor marked this pull request as ready for review August 21, 2020 09:52
setup.py Outdated Show resolved Hide resolved
dvc/tree/git.py Outdated Show resolved Hide resolved
dvc/tree/git.py Show resolved Hide resolved
See `._load()` implementation. Alternative is not using 3 io calls, but
simply use open and catch exceptions.

Reading is slow for old git revisions.
This is the same thing we have in tests.
@efiop efiop merged commit bc7d952 into iterative:master Aug 26, 2020
@Suor
Copy link
Contributor Author

Suor commented Aug 26, 2020

Cool, thanks!

@skshetry skshetry added the optimize Optimizes DVC label Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimize Optimizes DVC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants