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

TEST-#5014: Simplify adding new ASV benchmarks #5015

Merged
merged 8 commits into from
Sep 24, 2022

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Sep 21, 2022

Signed-off-by: Myachev anatoly.myachev@intel.com

What do these changes do?

Now, when adding benchmarks, there is no need to use predefined functions for benchmarks to work in two modes: pandas and modin. It is enough to use IMPL variable instead of import modin.pandas or pandas.

  • commit message follows format outlined here
  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves TEST: simplify adding new ASV benchmarks #5014
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date
  • added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

Signed-off-by: Myachev <anatoly.myachev@intel.com>
@codecov
Copy link

codecov bot commented Sep 21, 2022

Codecov Report

Merging #5015 (919cba4) into master (b5f7ed3) will increase coverage by 4.74%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5015      +/-   ##
==========================================
+ Coverage   84.91%   89.65%   +4.74%     
==========================================
  Files         266      254      -12     
  Lines       19763    19395     -368     
==========================================
+ Hits        16781    17389     +608     
+ Misses       2982     2006     -976     
Impacted Files Coverage Δ
modin/logging/config.py 94.59% <0.00%> (-1.30%) ⬇️
modin/core/storage_formats/__init__.py
modin/pandas/utils.py
...tion/ray/implementations/pandas_on_ray/__init__.py
modin/__init__.py
modin/core/execution/ray/__init__.py
...ecution/ray/implementations/pandas_on_ray/io/io.py
modin/core/execution/__init__.py
modin/pandas/io.py
...n/ray/implementations/pandas_on_ray/io/__init__.py
... and 47 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Myachev <anatoly.myachev@intel.com>
Signed-off-by: Myachev <anatoly.myachev@intel.com>
Signed-off-by: Myachev <anatoly.myachev@intel.com>
Signed-off-by: Myachev <anatoly.myachev@intel.com>
Signed-off-by: Myachev <anatoly.myachev@intel.com>
@@ -470,7 +470,7 @@ jobs:

# check pure pandas
MODIN_ASV_USE_IMPL=pandas asv run --quick --strict --show-stderr --launch-method=spawn \
-b ^benchmarks -b ^io -b ^scalability | tee benchmarks.log
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These benchmarks are supposed to be run only for modin, since they do not make sense for pandas.

@anmyachev anmyachev marked this pull request as ready for review September 22, 2022 14:54
@anmyachev anmyachev requested a review from a team as a code owner September 22, 2022 14:54
Signed-off-by: Myachev <anatoly.myachev@intel.com>
Copy link
Collaborator

@Garra1980 Garra1980 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for doing this!

@YarShev YarShev merged commit ff3425d into modin-project:master Sep 24, 2022
@anmyachev anmyachev deleted the issue5014 branch September 25, 2022 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TEST: simplify adding new ASV benchmarks
3 participants