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

Speedup mars deserialization by __new__ #3283

Merged
merged 6 commits into from
Oct 20, 2022

Conversation

chaokunyang
Copy link
Contributor

@chaokunyang chaokunyang commented Oct 20, 2022

What do these changes do?

This PR remove unecessary default values packing/unpacking/set and descriptor call in mars deserialization to speedup mars deserialization by about 1X times at most.

Related issue number

Fixes #xxxx

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass, see here for how to run them

@chaokunyang chaokunyang requested a review from a team as a code owner October 20, 2022 03:44
@chaokunyang chaokunyang changed the title Speedup mars serialization Speedup mars deserialization by __new__ Oct 20, 2022
Copy link
Contributor

@fyrestone fyrestone left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@wjsi wjsi left a comment

Choose a reason for hiding this comment

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

LGTM

@wjsi wjsi merged commit b2b7dc6 into mars-project:master Oct 20, 2022
qianduoduo0904 pushed a commit to qianduoduo0904/mars that referenced this pull request Oct 24, 2022
qianduoduo0904 pushed a commit to qianduoduo0904/mars that referenced this pull request Oct 24, 2022
aresnow1 pushed a commit to xorbitsai/mars that referenced this pull request Oct 24, 2022
qianduoduo0904 pushed a commit to qianduoduo0904/mars that referenced this pull request Oct 24, 2022
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

3 participants