y-crdt / y-octo

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

perf: improve encode/decode performence #33

Open darkskygit opened 1 year ago

darkskygit commented 1 year 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.