Skip to content

Closes #4675: update bigint_conversion benchmark - #4676

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:4675_update_bigint_conversion_benchmark
Jul 9, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:4675_update_bigint_conversion_benchmark

Conversation

@ajpotts

@ajpotts ajpotts commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

PR: Refactor bigint_conversion_benchmark.py to Unified Format

This PR consolidates the bigint conversion benchmarks into a single parameterized function that supports consistent benchmarking and metadata collection.

✅ Key Changes

  • Single Benchmark Function
    • Parameterized by direction = to_bigint or from_bigint
  • Pedantic Timing
    • Uses benchmark.pedantic(...) with Arkouda-standard --trials
  • Data Transfer Accounting
    • Computes bytes based on max_bits (1 or 2 uint64s per bigint)
  • Benchmark Metadata
    • Describes the benchmarked operation and includes transfer rate in GiB/sec
  • Auto-Skip
    • Skips when --numpy or --correctness_only are set

This makes the benchmark easier to maintain and more consistent with other performance tests in the suite.

Closes #4675: update bigint_conversion benchmark

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

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

Looks solid to me.

@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 force-pushed the 4675_update_bigint_conversion_benchmark branch from 7177d8a to 5f02e80 Compare July 7, 2025 17:52
@ajpotts
ajpotts force-pushed the 4675_update_bigint_conversion_benchmark branch from 5f02e80 to 3f019f8 Compare July 8, 2025 18:28
@ajpotts
ajpotts enabled auto-merge July 9, 2025 13:46
@ajpotts
ajpotts added this pull request to the merge queue Jul 9, 2025
Merged via the queue into Bears-R-Us:master with commit 83f649b Jul 9, 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 bigint_conversion benchmark

5 participants