Skip to content

Fixes #4824: In io_benchmark.py read Average rate is always zero - #4826

Merged
ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:4824_In_benchmarks_v2_io_benchmark.py_read_Average_rate_is_always_zero
Aug 29, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:4824_In_benchmarks_v2_io_benchmark.py_read_Average_rate_is_always_zero

Conversation

@ajpotts

@ajpotts ajpotts commented Aug 27, 2025 •

Copy link
Copy Markdown
Contributor

This PR creates a calc_num_bytes function to unify the calculation of transfer bytes across benchmarks_v2.

Closes #4824: In benchmarks_v2/io_benchmark.py read Average rate is always zero
Closes #4765: unify handling of num_bytes in benchmarks_v2

@ajpotts
ajpotts force-pushed the 4824_In_benchmarks_v2_io_benchmark.py_read_Average_rate_is_always_zero branch 3 times, most recently from 9a93ff3 to 8cfdd50 Compare August 27, 2025 20:32
@ajpotts
ajpotts marked this pull request as ready for review August 27, 2025 23:35

@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! I think the shuffle benchmark got merged in recently and it might be good to do this to that one.

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

It's a bit difficult to review benchmark changes, but this certainly looks correct, and works as best as I can verify it.

@ajpotts
ajpotts force-pushed the 4824_In_benchmarks_v2_io_benchmark.py_read_Average_rate_is_always_zero branch from 8cfdd50 to d94e46c Compare August 29, 2025 20:33
@ajpotts
ajpotts force-pushed the 4824_In_benchmarks_v2_io_benchmark.py_read_Average_rate_is_always_zero branch from d94e46c to 73fb664 Compare August 29, 2025 20:43
@ajpotts
ajpotts merged commit f9a2959 into Bears-R-Us:main Aug 29, 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.

In benchmarks_v2/io_benchmark.py read Average rate is always zero unify handling of num_bytes in benchmarks_v2

3 participants