Repository navigation
Closes #3567: Update encoding_benchmark - #4610
Merged
Merged
Conversation
ajpotts
force-pushed
the
3567_Update_encoding_benchmark
branch
2 times, most recently
from
June 16, 2025 14:49
d3a59d6 to
0dd5b96
Compare
ajpotts
marked this pull request as ready for review
June 17, 2025 13:42
1RyanK
approved these changes
Jun 17, 2025
jaketrookman
approved these changes
Jun 20, 2025
jaketrookman
left a comment
Contributor
There was a problem hiding this comment.
Besides Ryan's comments, looks good
ajpotts
force-pushed
the
3567_Update_encoding_benchmark
branch
from
June 23, 2025 14:34
0dd5b96 to
244fa5b
Compare
1RyanK
approved these changes
Jun 30, 2025
ajpotts
added this pull request to the merge queue
Jul 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR: Refactor
encoding_benchmark.pyfor Consistency and Correctness-Only ModeThis PR refactors the
encoding_benchmark.pybenchmark to follow the standardized structure used across Arkouda’s benchmark suite.✅ Features
Correctness-Only Support (
pytest.correctness_only=True)Automatically reduces problem size to
10**4for fast validation runs.Consistent Byte Tracking and Transfer Rate Calculation
Benchmarked functions now return the number of bytes processed, enabling accurate throughput reporting via
benchmark.pedantic.🔧 Changes
generate_string_array(N)for string generationcompute_nbytes(a)for consistent byte size calculationencodeanddecodeoperations in functions that returnnbytesnumBytes,description,problem_size)This cleanup improves readability, ensures consistency, and prepares the benchmark for correctness testing and future extensions.
Closes #3567: Update encoding_benchmark