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

Performance tests for DataCatalog #4230

Merged
merged 21 commits into from
Oct 18, 2024
Merged

Performance tests for DataCatalog #4230

merged 21 commits into from
Oct 18, 2024

Conversation

ankatiyar
Copy link
Contributor

Description

Partially resolve #4125

Development notes

Added performance tests for DataCatalog
I'm wondering if it's worth adding them for KedroDataCatalog as well, since the interface is still in active development?
Ignore benchmark_ocl.py since that is under review in #4225

To run locally: asv run or asv run --quick

Developer Certificate of Origin

We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a Signed-off-by line in the commit message. See our wiki for guidance.

If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.

Checklist

  • Read the contributing guidelines
  • Signed off each commit with a Developer Certificate of Origin (DCO)
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added a description of this change in the RELEASE.md file
  • Added tests to cover my changes
  • Checked if this change will affect Kedro-Viz, and if so, communicated that with the Viz team

Copy link
Contributor

@noklam noklam left a comment

Choose a reason for hiding this comment

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

add KedroDataCatalog makes sense, even if it's one-off I would be interested to see how it compares to the current one.

Copy link
Contributor

@ElenaKhaustova ElenaKhaustova left a comment

Choose a reason for hiding this comment

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

Thank you, @ankatiyar!

I added nit comments and they're both related to the ocl PR.

benchmarks/benchmark_ocl.py Outdated Show resolved Hide resolved
self.conf_source = Path(self.temp_dir.name)

# Create sample config files in the temp directory
_create_config_file(self.conf_source, "base", "catalog.yml", base_catalog)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we maybe replace this with a loop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yea let me see if i can simplify it

@ElenaKhaustova
Copy link
Contributor

Could we wait until we merge #4218 for KedroDataCatalog? After that, the interface won't change much, so it might be easier. So I would bound this PR with the old catalog only, but up to the developer.

Vaslo and others added 19 commits October 16, 2024 18:04
Fixed an erroneous link to the Get started with Kedro - Create your first data pipeline with Kedro video.  It was accidentally linked to the previous video.

Signed-off-by: Greg Vaslowski <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
* Bump kedro-sphinx-theme from 2024.4.0 to 2024.10.0

Bumps [kedro-sphinx-theme](https://github.com/kedro-org/kedro-sphinx-theme) from 2024.4.0 to 2024.10.0.
- [Release notes](https://github.com/kedro-org/kedro-sphinx-theme/releases)
- [Commits](kedro-org/kedro-sphinx-theme@v2024.4.0...v2024.10.0)

---
updated-dependencies:
- dependency-name: kedro-sphinx-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* updated to 2024.10.2

* trigger_run

* trigger_run

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: L. R. Couto <[email protected]>
Co-authored-by: rashidakanchwala <[email protected]>
Co-authored-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Deepyaman Datta <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
…ages (#4145)

* Load manually created sitemap

Signed-off-by: Dmitry Sorokin <[email protected]>

* Add projects remove lastmod for latest

Signed-off-by: Dmitry Sorokin <[email protected]>

* Add latest for projects

Signed-off-by: Dmitry Sorokin <[email protected]>

---------

Signed-off-by: Dmitry Sorokin <[email protected]>
Co-authored-by: Dmitry Sorokin <[email protected]>
Co-authored-by: ElenaKhaustova <[email protected]>
Co-authored-by: L. R. Couto <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
* Bump up version to 0.19.9

Signed-off-by: Laura Couto <[email protected]>

* Add placeholders to release.md

Signed-off-by: Laura Couto <[email protected]>

* Update citation.cff release date

Signed-off-by: Laura Couto <[email protected]>

---------

Signed-off-by: Laura Couto <[email protected]>
Signed-off-by: L. R. Couto <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
* Update project structure docs
---------

Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Co-authored-by: Juan Luis Cano Rodríguez <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
* Update CLI autocompletion docs with new Click syntax

Updated the autocompletion setup instructions for Bash, Zsh, and Fish shells to reflect the latest Click 8.1 syntax. Changed Fish shell completion script path to ~/.config/fish/completions/kedro.fish for correct placement.

Signed-off-by: hyew0nChoi <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Bumps [import-linter](https://github.com/seddonym/import-linter) from 2.0 to 2.1.
- [Changelog](https://github.com/seddonym/import-linter/blob/master/CHANGELOG.rst)
- [Commits](seddonym/import-linter@v2.0...v2.1)

---
updated-dependencies:
- dependency-name: import-linter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Ankita Katiyar <[email protected]>
* first pass doesn't work yet

Signed-off-by: Ankita Katiyar <[email protected]>

* Update ocl tests

Signed-off-by: Ankita Katiyar <[email protected]>

* revert some changes

Signed-off-by: Ankita Katiyar <[email protected]>

* Update to use larger config

Signed-off-by: Ankita Katiyar <[email protected]>

* Update functions and docstrings

Signed-off-by: Ankita Katiyar <[email protected]>

* lint

Signed-off-by: Ankita Katiyar <[email protected]>

---------

Signed-off-by: Ankita Katiyar <[email protected]>
This reverts commit 0dbe3c7.

Signed-off-by: Ankita Katiyar <[email protected]>
Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

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

@ankatiyar ankatiyar enabled auto-merge (squash) October 18, 2024 15:04
@ankatiyar ankatiyar merged commit 2e950a2 into main Oct 18, 2024
28 checks passed
@ankatiyar ankatiyar deleted the performance-datacatalog branch October 18, 2024 15:23
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.

[Stress Testing] - Data Catalog and Config Loader
9 participants