cbor4ii icon indicating copy to clipboard operation
cbor4ii copied to clipboard

Performance in some cases

Open quininer opened this issue 1 year ago • 1 comments

~~I submitted https://github.com/djkoloski/rust_serialization_benchmark/pull/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 avatar Nov 02 '23 02:11 quininer

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

quininer avatar Nov 02 '23 13:11 quininer