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

Introduce some simple benchmarks for rolling window aggregations #17613

Merged

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Dec 17, 2024

Description

Previously we did not have any benchmarks for rolling aggregations. Introduce some, so we can measure the effects of any performance improvements we might make.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@wence- wence- requested a review from a team as a code owner December 17, 2024 18:15
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Dec 17, 2024
@wence- wence- added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 17, 2024
@mythrocks mythrocks self-requested a review December 17, 2024 19:20
Copy link
Contributor

@mythrocks mythrocks left a comment

Choose a reason for hiding this comment

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

There's a minor nit, but otherwise, LGTM!

cpp/benchmarks/CMakeLists.txt Outdated Show resolved Hide resolved
@mythrocks
Copy link
Contributor

I've re-kicked the CI, because of transient failures.

cpp/benchmarks/rolling/grouped_rolling_sum.cpp Outdated Show resolved Hide resolved
NVBENCH_BENCH_TYPES(bench_row_fixed_rolling_sum,
NVBENCH_TYPE_AXES(nvbench::type_list<std::int32_t, double>))
.set_name("row_fixed_rolling_sum")
.add_int64_power_of_two_axis("num_rows", {14, 22, 28})
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Is there any reason for choice of these numbers of num_rows? or just random.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Smallish, mediumish, and largeish. But other than that, not particularly attached to them.

@wence- wence- requested a review from a team as a code owner January 8, 2025 10:59
@wence-
Copy link
Contributor Author

wence- commented Jan 8, 2025

/merge

@rapids-bot rapids-bot bot merged commit dc99d2f into rapidsai:branch-25.02 Jan 8, 2025
106 checks passed
@wence- wence- deleted the wence/fea/rolling-benchmark branch January 8, 2025 14:54
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.

4 participants