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

perf: improve encode/decode performence #33

Open
darkskygit opened this issue Nov 9, 2023 · 0 comments
Open

perf: improve encode/decode performence #33

darkskygit opened this issue Nov 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@darkskygit
Copy link
Collaborator

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.

darkskygit added a commit that referenced this issue Nov 17, 2023
this PR partially solves #33 and greatly improves the performance of
apply update
test cases show a performance improvement of about 40-50%
@darkskygit darkskygit self-assigned this Nov 17, 2023
@darkskygit darkskygit added the enhancement New feature or request label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant