You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Silas, object initialization can be a bit slower without classes, and the reflection layer adds some overhead. We're aware of that, and are considering to optionally generate speed-optimized code for initialization and serialization (should solve #333), but not in the near future.
#964 uses resizable buffers for encoding. I expect this to give a decent perf bump because it can avoid many allocations, but the ECMAScript feature is not widely available yet. It may be possible to implement it as an alternative BinaryEncoder with the same interface, and let users opt in.
Hey, we're looking into upgrading from v1 to v2.
However it appears that the serialization throughput has suffered a bit between the two versions.
I saw these PR & issue #964 #333 but they've had their last activity in august.
Test results, running on node v23.4.0. Can pull into a repo & post here if desired. Tested is performance of binary de-/serialization.
The text was updated successfully, but these errors were encountered: