-
Notifications
You must be signed in to change notification settings - Fork 917
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
base: branch-25.02
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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!
I've re-kicked the CI, because of transient failures. |
f1a6a36
to
cb2530f
Compare
#include <benchmarks/fixture/benchmark_fixture.hpp> | ||
|
||
#include <cudf/aggregation.hpp> | ||
#include <cudf/copying.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "cudf/copying.hpp" is this include required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me check, quite possibly not.
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}) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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