Open quininer opened 10 months ago
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.
cbor4ii
serde_cbor
I also observed that cbor4ii has a greater slowdown thanserde_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.
Right now we are the fastest CBOR crate for serialization, but deserialization has no advantage over serde_cbor.
I submitted https://github.com/djkoloski/rust_serialization_benchmark/pull/56 and found that the performance ofcbor4ii
on github actions is worse thanserde_cbor
.I also observed that
cbor4ii
has a greater slowdown thanserde_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.