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

Persistent Caching of available Implementations (Dose Engines, Stf Generators, etc.) #817

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

wahln
Copy link
Contributor

@wahln wahln commented Jan 24, 2025

The most important changes involve the introduction of persistent variables to cache the available implementations for DoseEngines, StfGenerators, ScenarioModels and BioModels to avoid slow response when operating in large paths. Further, we allow suppression of the warning message when the default generator is used.

Caching improvements:

Functionality enhancement:

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.53%. Comparing base (fb4eb96) to head (ab55cfa).
Report is 3 commits behind head on dev.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #817      +/-   ##
==========================================
+ Coverage   51.47%   51.53%   +0.05%     
==========================================
  Files         598      598              
  Lines       37306    37340      +34     
==========================================
+ Hits        19204    19242      +38     
+ Misses      18102    18098       -4     

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

Copy link

Code Coverage

Package Line Rate Health
coverage Package 1 52%
Summary 52% (9614 / 18670)

Copy link

github-actions bot commented Jan 24, 2025

Test Results

  3 files  ±0    3 suites  ±0   33m 42s ⏱️ -17s
274 tests ±0  274 ✅ ±0  0 💤 ±0  0 ❌ ±0 
918 runs  ±0  913 ✅ ±0  5 💤 ±0  0 ❌ ±0 

Results for commit ab55cfa. ± Comparison against base commit fb4eb96.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@amitantony amitantony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works great!! definitely notice difference in speed for successive optimizations.

@amitantony amitantony merged commit e828dff into dev Jan 29, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants