y-crdt / y-octo

CRDT implementation which is compatible with https://github.com/yjs/yjs
https://octobase.pro/
Other
200 stars 6 forks source link

perf: improve encode/decode performence #33

Open darkskygit opened 11 months ago

darkskygit commented 11 months ago

I just connected yocto to a community-created benchmark and found that the performance of the codec part was significantly lower than other crdt implementations: https://github.com/darkskygit/crdt-bench-native

image image image

After a simple inspection, it was found that the current implementation took a lot of time on memory allocation.