Skip to content

gha: run benchmarks on PRs - #6733

Merged
efiop merged 1 commit into
masterfrom
bench
Oct 5, 2021
Merged

gha: run benchmarks on PRs#6733
efiop merged 1 commit into
masterfrom
bench

Conversation

@efiop

@efiop efiop commented Oct 3, 2021

Copy link
Copy Markdown
Contributor

Qucik&dirty way to run dvc-bench for our PRs to help with things like #6707

Need to clarify that this is not all-in-one regression detection, but rather this is specific to test regressions within one PR. We need a similar thing for specific dvc versions to detect slow regressions that accumulate over a long period of time, but that is out of scope for this PR.

@efiop
efiop requested a review from a team as a code owner October 3, 2021 16:48
@efiop
efiop requested a review from pmrowla October 3, 2021 16:48
@efiop
efiop force-pushed the bench branch 13 times, most recently from 73852d9 to d690679 Compare October 3, 2021 18:15
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@efiop
efiop force-pushed the bench branch 2 times, most recently from 6b1dde1 to b2be588 Compare October 3, 2021 22:21
@efiop

efiop commented Oct 3, 2021

Copy link
Copy Markdown
Contributor Author

Ok, posting full benchmark tables as comments is too noisy for PRs, the last version runs regression checks for individual tests, which feels much nicer to me for PRs here. Also it is clear that we shouldn't run all possible benchmarks for PRs here, but rather keep key ones (e.g. init/add/etc, but not tutorial ones), so I'll try to condense those a little bit.

@efiop
efiop force-pushed the bench branch 4 times, most recently from b138b4d to 3652f55 Compare October 4, 2021 13:42
Comment thread .github/workflows/benchmarks.yaml Outdated
@efiop
efiop force-pushed the bench branch 3 times, most recently from a5de5fd to 9a29d40 Compare October 4, 2021 21:52
python-version: 3.7
- uses: iterative/dvc-bench@master
with:
pytest_options: "${{ github.event_name == 'workflow_dispatch' && '' || '-k test_init -k test_help' }}"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could create a special mark for similar tests in dvc-bench (e.g. micro), but will leave it for later.

@efiop efiop changed the title [WIP] gha: run benchmarks on PRs gha: run benchmarks on PRs Oct 5, 2021
@efiop

efiop commented Oct 5, 2021

Copy link
Copy Markdown
Contributor Author

Ok, let's try this out.

@efiop
efiop merged commit 7b68a6f into master Oct 5, 2021
@efiop
efiop deleted the bench branch October 5, 2021 11:18
@skshetry

skshetry commented Oct 6, 2021

Copy link
Copy Markdown
Collaborator

It seems that only one test (test_help---help) is being run.

@efiop

efiop commented Oct 6, 2021

Copy link
Copy Markdown
Contributor Author

@skshetry Oops, looking into it... Thank you! 🙏

skshetry added a commit to endremborza/dvc that referenced this pull request Oct 8, 2021
* master: (47 commits)
  make dependabot updates work (treeverse#6760)
  move defaults to the class level (treeverse#6762)
  build(deps): Bump dvclive from 0.3.0 to 0.4.0 (treeverse#6753)
  move requirements to setup.cfg (treeverse#6758)
  gha: cancel previous workflows (treeverse#6756)
  pyinstaller: hooks: remove webhdfs
  webhdfs: migrate to fsspec (treeverse#6662)
  gha: benchmarks: fix pytest flags (treeverse#6749)
  hdfs: migrate to fsspec (treeverse#6604)
  Pin dvclive to 0.3.0
  command: Should not consume 'print' to output default remote info (treeverse#6650)
  command: output prettify json in tty (treeverse#6743)
  gha: run benchmarks on PRs (treeverse#6733)
  Run on Python3.10 (treeverse#6745)
  Fix dvclive running subdir (treeverse#6740)
  exp init: only ask for that are not provided in an interactive mode (treeverse#6739)
  move exp init logic to dvc.repo.experiments.init (treeverse#6738)
  build(deps): Bump jaraco-windows from 5.6.0 to 5.7.0 (treeverse#6735)
  build(deps): Bump pytest-cov from 2.12.1 to 3.0.0 (treeverse#6736)
  Bump typing_extensions to >=3.7.4 (treeverse#6731) (treeverse#6732)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Skips changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants