Skip to content

Commit

Permalink
Rename partial add/remove benchmarks (#9868)
Browse files Browse the repository at this point in the history
* Rename partial add/remove benchmarks

* Update dvc/testing/benchmarks/cli/stories/test_modify_data.py
  • Loading branch information
dberenbaum authored Aug 23, 2023
1 parent 8cb7e49 commit fc955c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dvc/testing/benchmarks/cli/stories/test_modify_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def test_partial_add(bench_dvc, tmp_dir, dvc, dataset, remote):
shutil.copytree("partial-copy", dataset, dirs_exist_ok=True)

# Benchmark operations for adding files to a dataset
bench_dvc("add", dataset, name="partial-add")
bench_dvc("push", name="partial-add")
bench_dvc("add", dataset, name="partial")
bench_dvc("push", name="partial")
bench_dvc("gc", "-f", "-w", name="noop")
bench_dvc("gc", "-f", "-w", "-c", name="cloud-noop")

Expand All @@ -51,7 +51,7 @@ def test_partial_remove(bench_dvc, tmp_dir, dvc, dataset, remote):
shutil.rmtree(dataset / f)

# Benchmark operations for removing files from dataset
bench_dvc("add", dataset)
bench_dvc("push")
bench_dvc("add", dataset, name="update")
bench_dvc("push", name="update")
bench_dvc("gc", "-f", "-w")
bench_dvc("gc", "-f", "-w", "-c", name="cloud")

0 comments on commit fc955c1

Please sign in to comment.