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

More performance improvements in checkpointing and channels #1685

Merged
merged 8 commits into from
Sep 13, 2024

Conversation

nfcampos
Copy link
Contributor

@nfcampos nfcampos commented Sep 11, 2024

No description provided.

@nfcampos nfcampos force-pushed the nc/11sep/checkpointer-perf branch from 8426e10 to 00fc321 Compare September 11, 2024 23:50
Base automatically changed from nc/11sep/perf to main September 12, 2024 18:01
@nfcampos nfcampos changed the title Performance improvements in checkpointer libs More performance improvements in checkpointing and channels Sep 13, 2024
@nfcampos nfcampos force-pushed the nc/11sep/checkpointer-perf branch from 2fe3de8 to 3b7de9c Compare September 13, 2024 00:18
- Use sha1 instead of md5 for hashing (faster in python 3.x)
- Use orjson instead of json for json dumping (sadly can't use for json loading)
- only when possible, exceptions for ERROR, INTERRUPT, SEND
- context manager no longer needed since Context became a managed value
@nfcampos nfcampos force-pushed the nc/11sep/checkpointer-perf branch from 3b7de9c to 2cf6661 Compare September 13, 2024 00:20
@nfcampos nfcampos merged commit 66fc7c9 into main Sep 13, 2024
53 checks passed
@nfcampos nfcampos deleted the nc/11sep/checkpointer-perf branch September 13, 2024 04:08
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