fury icon indicating copy to clipboard operation
fury copied to clipboard

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

Open a1342772 opened this issue 1 year ago • 2 comments

Question

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

a1342772 avatar Nov 22 '24 08:11 a1342772

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 avatar Nov 22 '24 11:11 chaokunyang

@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.

chaokunyang avatar Nov 22 '24 11:11 chaokunyang