djkoloski / rust_serialization_benchmark

Benchmarks for rust serialization frameworks
514 stars 48 forks source link

Added Bincode2 #61

Closed 8192K closed 4 months ago

8192K commented 4 months ago

Bincode 2 is currently in RC and as I found it to be much faster than Bincode 1, I am adding it as a separate benchmark here. This could very well remain the use case in the future as both, bincode 1 and 2 will have to be supported by the maintainers for backwards compatibility since the format changed. Currently, there is an issue with the crate that it can only be imported as "bincode", so bincode version 1 had to be renamed to "bincode1" and bincode version 2 has to be called "bincode".

djkoloski commented 4 months ago

Thanks for the PR! I had to change a few things very slightly and add support for multiple packages to our CI process. Benches should be updated automatically after the post-commit check finishes.