Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel Processing Optimization in test_operations.py #2169

Closed
wants to merge 3 commits into from

Conversation

ashmeigh
Copy link
Collaborator

Issue

Close or ref the associated ticket, e.g. Closes #84

Description

This pull request aims to improve the parallel processing capabilities specifically in the test_operations.py module. The enhancements focus on optimizing performance and resource utilization for better scalability and efficiency.

Implemented process-level parallelism using concurrent.futures.ProcessPoolExecutor.
Utilized asyncio for asynchronous I/O handling.
Introduced batch processing to execute multiple test cases concurrently.
Improved resource utilization and performance in both compare_mode() and time_mode() functions.

Testing

Run the test_operations.py script with a set of sample test cases.
Measure the execution time with and without parallel processing enabled.

Acceptance Criteria

Acceptance Criteria

Execute the test_operations.py script with a variety of test cases.
Compare execution times and resource utilization metrics between the parallel and sequential modes.
Confirm that the parallel implementation does not introduce any functional regressions or inaccuracies in test results.

@ashmeigh ashmeigh closed this Apr 20, 2024
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.

Exiting the main window leaves histograms open
1 participant