Skip to content

Closes #4672: update split_benchmark.py - #4673

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:4672_update_split_benchmark.py
Jul 7, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:4672_update_split_benchmark.py

Conversation

@ajpotts

@ajpotts ajpotts commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

PR: Refactor split_benchmark.py to Use Parameterization and Unified Style

This PR refactors the Strings.split benchmark for better maintainability and integration with Arkouda’s modern benchmarking style.

✅ Improvements

  • Single Test Function with parameterized inputs for:
    • Non-regex split
    • Regex with literal delimiter
    • Regex with pattern
  • Transfer Rate Calculation included
  • Benchmark Metadata:
    • Backend
    • Problem size
    • Operation mode
  • Auto-skips on --correctness_only and --numpy flags for consistency with other string benchmarks

This ensures consistency, clarity, and ease of future expansion for string-splitting benchmarks in Arkouda.

Closes #4672: update split_benchmark.py

@ajpotts
ajpotts force-pushed the 4672_update_split_benchmark.py branch from 7fde4af to b5edfef Compare June 25, 2025 17:53
@ajpotts
ajpotts marked this pull request as ready for review June 27, 2025 21:28

@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!

@ajpotts
ajpotts added this pull request to the merge queue Jul 7, 2025
Merged via the queue into Bears-R-Us:master with commit 5a4c509 Jul 7, 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.

update split_benchmark.py

3 participants