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

Performance in some cases #28

Open
quininer opened this issue Nov 2, 2023 · 1 comment
Open

Performance in some cases #28

quininer opened this issue Nov 2, 2023 · 1 comment

Comments

@quininer
Copy link
Owner

quininer commented Nov 2, 2023

I submitted djkoloski/rust_serialization_benchmark#56 and found that the performance of cbor4ii on github actions is worse than serde_cbor.

I also observed that cbor4ii has a greater slowdown than serde_cbor when using cranelift backend. (10x)

I suspect this is because cbor4ii relies more on inline than other implementations. This is a case that can be optimized.

@quininer
Copy link
Owner Author

quininer commented Nov 2, 2023

Right now we are the fastest CBOR crate for serialization, but deserialization has no advantage over serde_cbor.

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

No branches or pull requests

1 participant