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

Limit experiment.response_configuration calls within for loops #9363

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

yngve-sk
Copy link
Contributor

@yngve-sk yngve-sk commented Nov 27, 2024

Avoid repeated loading of file, frees up some memory.

Tested with test_plot_api_big_summary_memory_usage
(100 summary keys, 1 realization)

PASSED [ 50%]790.8993444442749
PASSED [100%]789.9793910980225

(100 summary keys, 1000 realizations)

PASSED [ 50%]791.7444477081299
PASSED [100%]1299.8663206100464

@yngve-sk yngve-sk self-assigned this Nov 27, 2024
@yngve-sk yngve-sk changed the title Cache response_configuration Limit experiment.response_configuration calls within for loops Nov 27, 2024
@yngve-sk yngve-sk force-pushed the 24.11.27.cache-response-configs branch from e864214 to cc53a75 Compare November 27, 2024 10:59
@yngve-sk yngve-sk marked this pull request as ready for review November 27, 2024 11:03
@yngve-sk yngve-sk merged commit 8848f37 into equinor:main Nov 28, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants