Skip to content

Part 2 of #3964: Refactor benchmark handling of running mode - #4373

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:3964_Refactor_benchmark_handling_of_running_mode
May 8, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
ajpotts:3964_Refactor_benchmark_handling_of_running_mode

Conversation

@ajpotts

@ajpotts ajpotts commented May 6, 2025

Copy link
Copy Markdown
Contributor

Adds --nl option to the benchmark conftest.py.

Part 2 of #3964: Refactor benchmark handling of running mode

@ajpotts

ajpotts commented May 6, 2025 •

Copy link
Copy Markdown
Contributor Author

python3 -m pytest -c benchmark.ini --benchmark-autosave --benchmark-storage=file://benchmark_v2/.benchmarks --size=10 --nl=5 --running_mode="CLASS_SERVER" ran the benchmarks locally, and top verified that 5 arkouda servers were running:
Screenshot from 2025-05-06 16-08-38

@ajpotts
ajpotts marked this pull request as ready for review May 6, 2025 20:22

@vasslitvinov vasslitvinov 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 default for --nl may not do what's intended in corner cases. For example, how will it distinguish between --nl 1 and the default for a multilocale server.

It would make sense to provide also an environment variable like ARKOUDA_SERVER_LOCALES by analogy to other options, however it is fine without it.

@ajpotts
ajpotts marked this pull request as draft May 7, 2025 19:33
@ajpotts
ajpotts force-pushed the 3964_Refactor_benchmark_handling_of_running_mode branch from 9dfbb4c to 3fec119 Compare May 7, 2025 21:57
@ajpotts
ajpotts force-pushed the 3964_Refactor_benchmark_handling_of_running_mode branch from 3fec119 to d6f4651 Compare May 7, 2025 22:02
@ajpotts
ajpotts marked this pull request as ready for review May 7, 2025 22:03

@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 May 8, 2025
Merged via the queue into Bears-R-Us:master with commit 8283fd2 May 8, 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.

3 participants