Repository navigation
Closes #4682: Refactor parquet-fixed-strings benchmark to use pytest… - #4683
Merged
ajpotts merged 1 commit intoJul 10, 2025
Conversation
ajpotts
force-pushed
the
4682_Refactor_parquet-fixed-strings_benchmark_to_use_pytest_framework
branch
4 times, most recently
from
July 1, 2025 00:39
7267f24 to
d963e1f
Compare
ajpotts
force-pushed
the
4682_Refactor_parquet-fixed-strings_benchmark_to_use_pytest_framework
branch
3 times, most recently
from
July 8, 2025 21:56
b8f8a4e to
2b0e89f
Compare
ajpotts
marked this pull request as ready for review
July 8, 2025 23:08
vasslitvinov
approved these changes
Jul 9, 2025
…se pytest framework
ajpotts
force-pushed
the
4682_Refactor_parquet-fixed-strings_benchmark_to_use_pytest_framework
branch
from
July 10, 2025 14:24
2b0e89f to
a3ce74f
Compare
ajpotts
added this pull request to the merge queue
Jul 10, 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
parquet-fixed-strings.pyfor Pytest-Benchmark FrameworkThis PR refactors the original script-based benchmark into a parameterized
pytest-benchmarktest for standardized performance testing of fixed-length string reads from Parquet files.✅ Key Improvements
Benchmark Group:
ParquetFixedStringsParameters:
nfiles: number of files (1, 5, 10)scaling: scale down file size per shard (True/False)fixed: usefixed_lenwhen reading Parquet files (True/False)Benchmark Timing:
benchmark.pedantic(...)for consistent trial-based timing--numpyand--correctness_onlyrunsTemporary Directory Isolation:
tmp_pathfixture to write files for isolated test executionMetadata:
IO Benchmark File Cleanup
_remove_filesadds capability to remove directories as well as files.This provides consistent, scalable performance benchmarking of Arkouda’s Parquet I/O read with fixed-length string options.
Closes #4682: Refactor parquet-fixed-strings benchmark to use pytest framework