Skip to content

Remove benchmarks suffix - #10112

Merged
rapids-bot[bot] merged 6 commits into
NVIDIA:branch-22.04from
bdice:remove-benchmarks-suffix
Jan 25, 2022
Merged

rapids-bot[bot] merged 6 commits into
NVIDIA:branch-22.04from
bdice:remove-benchmarks-suffix

Conversation

@bdice

@bdice bdice commented Jan 24, 2022 •

Copy link
Copy Markdown
Contributor

This PR addresses suggestions from @robertmaynard, @karthikeyann, and @harrism in #10093 to remove the suffix _benchmark from the name of the benchmark files. The developer guide has been updated to reflect this change.

I left a few shared files with the word "benchmark" in them, such as cpp/benchmarks/fixture/benchmark_fixture.hpp and cpp/benchmarks/fixture/templated_benchmark_fixture.hpp.

I built the benchmarks locally to ensure that nothing was broken (I'm noting this because I recall that our CI does not build the benchmarks).

@bdice bdice added code quality libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Jan 24, 2022
@bdice bdice self-assigned this Jan 24, 2022
@bdice
bdice requested a review from a team as a code owner January 24, 2022 18:49
@bdice
bdice requested review from cwharris and nvdbaranec January 24, 2022 18:49
@github-actions github-actions Bot added the CMake CMake build issue label Jan 24, 2022
@bdice bdice added the improvement Improvement / enhancement to an existing function label Jan 24, 2022

@robertmaynard robertmaynard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you rename join.cu to left_joins.cu so that we can rename join_nvbench.cu to join.cu.
That to me better captures what exact join routines each file is benchmarking.

@karthikeyann karthikeyann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@harrism

harrism commented Jan 24, 2022

Copy link
Copy Markdown
Contributor

CI should build benchmarks. Are you certain it is not? I just fixed this in RMM, which was not.

@bdice

bdice commented Jan 24, 2022

Copy link
Copy Markdown
Contributor Author

CI should build benchmarks. Are you certain it is not? I just fixed this in RMM, which was not.

Last I checked this was a month ago: #9905. It's possible this has changed since then, but my comment indicated that CI did not build benchmarks. #9810 (comment)

@bdice

bdice commented Jan 24, 2022 •

Copy link
Copy Markdown
Contributor Author

@harrism I see your changes to RMM rapidsai/rmm#941 and I think this line indicates we are not building benchmarks in cuDF CI (missing benchmarks):

https://github.com/rapidsai/cudf/blob/cfb6cbe6a8e4b01d7ee28fbe3212b5f2eb275167/conda/recipes/libcudf/build.sh#L7

Shall I make a follow-up PR to build cuDF benchmarks in CI? There is a trade-off because this would cost additional CI time.

@codecov

codecov Bot commented Jan 24, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #10112 (3d5863d) into branch-22.04 (e24fa8f) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-22.04   #10112      +/-   ##
================================================
+ Coverage         10.37%   10.42%   +0.04%     
================================================
  Files               119      119              
  Lines             20149    20607     +458     
================================================
+ Hits               2091     2148      +57     
- Misses            18058    18459     +401     
Impacted Files Coverage Δ
python/cudf/cudf/io/csv.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/hdf.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/orc.py 0.00% <0.00%> (ø)
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/_version.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/abc.py 0.00% <0.00%> (ø)
python/cudf/cudf/api/types.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/dlpack.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <0.00%> (ø)
... and 59 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cfb6cbe...3d5863d. Read the comment docs.

@ttnghia ttnghia left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fantastic! Please do the same for tests/*_tests.*.

@bdice

bdice commented Jan 25, 2022

Copy link
Copy Markdown
Contributor Author

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit baff5cf into NVIDIA:branch-22.04 Jan 25, 2022
@harrism

harrism commented Jan 25, 2022

Copy link
Copy Markdown
Contributor

@harrism I see your changes to RMM rapidsai/rmm#941 and I think this line indicates we are not building benchmarks in cuDF CI (missing benchmarks):

https://github.com/rapidsai/cudf/blob/cfb6cbe6a8e4b01d7ee28fbe3212b5f2eb275167/conda/recipes/libcudf/build.sh#L7

Shall I make a follow-up PR to build cuDF benchmarks in CI? There is a trade-off because this would cost additional CI time.

Would be good to discuss with the team. Not sure what CI time cost would be?

@bdice

bdice commented Jan 25, 2022

Copy link
Copy Markdown
Contributor Author

Not sure what CI time cost would be?

I think the best way to find out is to open a draft PR. I'll work on this.

@karthikeyann

Copy link
Copy Markdown
Contributor

I think the best way to find out is to open a draft PR. I'll work on this.

Use build time metrics html report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants