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

[Question] <title>How does Fury perform in terms of speed and size when serializing and deserializing Java arrays? #1954

Open
a1342772 opened this issue Nov 22, 2024 · 2 comments
Labels
question Further information is requested

Comments

@a1342772
Copy link

Question

How does Fury perform in terms of speed and size when serializing and deserializing Java arrays?

@a1342772 a1342772 added the question Further information is requested label Nov 22, 2024
@chaokunyang
Copy link
Collaborator

chaokunyang commented Nov 22, 2024

Performance:

  • For primitive array, it's as fast as a memory copy.
  • For object array, depending on the data, the cost are basically (array_len * cost(element)) * 10% for most cases.

Size:

  • For primitive array, it's array_len * size(element)
  • For object array, fury are smaller than JDK serialization. Depending on the element type, the size reduction can be different.

@chaokunyang
Copy link
Collaborator

@a1342772 You could test it by yourself. It the test result is unexpected, please share your test code and result here, then we can dive into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants