Skip to content

Closes #4863: 16-array Average rate always returns zero under benchm… - #4865

Merged
ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:4863_16-array_Average_rate_always_returns_zero_under_benchmark_v2_groupby
Sep 10, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:4863_16-array_Average_rate_always_returns_zero_under_benchmark_v2_groupby

Conversation

@ajpotts

@ajpotts ajpotts commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

This PR fixes a minor issue where the Average rate for groupby.dat and coargsort.dat was always zero when the number of arrays was 16 and the benchmark size was 10. This was due to integer division used to determine the individual array sizes, which will be zero when the number of arrays is smaller than the size (pytest.N) of the benchmark.

Closes #4863: 16-array Average rate always returns zero under benchmark_v2 groupby

@ajpotts
ajpotts marked this pull request as ready for review September 6, 2025 13:30

@1RyanK 1RyanK 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.

Looks good!

@jaketrookman jaketrookman 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.

Looks good

@ajpotts
ajpotts added this pull request to the merge queue Sep 9, 2025
Merged via the queue into Bears-R-Us:main with commit 2c2d86a Sep 10, 2025
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.

16-array Average rate always returns zero under benchmark_v2 groupby

3 participants