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

Add parallel scenario generation and tests #92

Merged

Conversation

sschlenkrich
Copy link
Member

This PR adds parallel scenario generation via multi-threading, multi-processing and a mixed approach.

Scaling properties of multi-threading are limited by BLAS memory allocations and garbage collection. A mitigating strategy is to combine multi-processing and multi-threading on large machines.

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 93.87755% with 6 lines in your changes missing coverage. Please review.

Project coverage is 98.26%. Comparing base (aa2b5b9) to head (0f757e9).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/analytics/ScenariosParallel.jl 93.87% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   98.36%   98.26%   -0.11%     
==========================================
  Files          77       78       +1     
  Lines        4167     4265      +98     
==========================================
+ Hits         4099     4191      +92     
- Misses         68       74       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschlenkrich sschlenkrich merged commit b6f6b04 into frame-consulting:main Nov 28, 2024
4 of 6 checks passed
@sschlenkrich sschlenkrich deleted the wip/parallel-scenarios branch November 28, 2024 16:46
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.

2 participants