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

Move monitoring wrapper code into its own module #2468

Merged
merged 2 commits into from Nov 22, 2022

Conversation

benclifford
Copy link
Collaborator

This is to avoid capturing so much in the closure of the monitoring wrapper, which prior to this patch, captured a lot of surprising stuff.

This reduces serialisation load (time and space).

With parsl/tests/test_bash/test_basic.py, using Work Queue and monitoring, the five serialized function sizes are:

before this commit: 8400 bytes
after this commit: 7252 bytes

saving 1148 bytes per function invocation.

Type of change

  • New feature (non-breaking change that adds functionality)

This is to avoid capturing so much in the closure of the monitoring wrapper,
which prior to this patch, captured a lot of surprising stuff.

This reduces serialisation load (time and space).

With parsl/tests/test_bash/test_basic.py, using Work Queue and monitoring,
the five serialized function sizes are:

before this commit: 8400 bytes
after this commit: 7252 bytes

saving 1148 bytes per function invocation.
@benclifford benclifford merged commit dbffcce into master Nov 22, 2022
@benclifford benclifford deleted the benc-monitoring-wrapper-module branch November 22, 2022 13:38
benclifford added a commit that referenced this pull request Mar 19, 2024
This is ongoing work to split up monitoring.py into more
topical pieces - see also PRs #2468, #2439
benclifford added a commit that referenced this pull request Mar 19, 2024
This is ongoing work to split up monitoring.py into more
topical pieces - see also PRs #2468, #2439
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.

None yet

1 participant