Skip to content

dvc get/artifacts get: repo clone is slow #9880

@dberenbaum

Description

@dberenbaum

Bug Report

Description

dvc get is slow to clone the git repo.

This is shown in the DVC benchmarks:

visualization(11)

Reproduce

I can also see it by profiling the example command dvc get -f [email protected]:iterative/example-get-started-experiments.git models/model.pkl --viztracer --viztracer-depth=32 (CLI git clone for this repo takes <1 second):

Screenshot 2023-08-28 at 9 17 06 AM

viztracer.tar.gz

Expected

The operation should take a few seconds at most instead of almost a minute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: data-syncRelated to dvc get/fetch/import/pull/pushgitRelated to git and git backendsp1-importantImportant, aka current backlog of things to doperformanceimprovement over resource / time consuming tasksregressionOhh, we broke something :-(

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions