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

CBOR performance improvements #304

Merged
merged 1 commit into from
Jul 12, 2024
Merged

CBOR performance improvements #304

merged 1 commit into from
Jul 12, 2024

Conversation

kearfy
Copy link
Member

@kearfy kearfy commented Jul 12, 2024

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

As reported in Discord, our custom CBOR implementation had some serious performance implications

What does this change do?

Made some improvements to the encoder, decoder, writer and reader, making the CBOR implementation even faster than the original library that we used.

What is your testing strategy?

GitHub CI. Benchmark tests to be added soon to prevent this sort of performance decline from happening in the future.

Is this related to any issues?

No

Have you read the Contributing Guidelines?

@kearfy kearfy merged commit f23c190 into surrealdb:main Jul 12, 2024
8 checks passed
@kearfy kearfy deleted the micha/cbor-performance branch July 12, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant