fork/rust_serialization_benchmark
git clone https://git.julia.blue/fork/rust_serialization_benchmark
b0ae613
master
1{dne} 2 3# Rust serialization benchmark 4 5The goal of these benchmarks is to provide thorough and complete benchmarks for various rust 6serialization frameworks. 7 8## These benchmarks are a work in progress 9 10These benchmarks are still being developed and pull requests to improve benchmarks are welcome. 11 12## [Interactive site](https://djkoloski.github.io/rust_serialization_benchmark/) 13 14Calculate the number of messages per second that can be sent/received with various rust serialization frameworks and compression libraries. 15[Documentation](pages/README.md) 16 17## Format 18 19All tests benchmark the following properties (time or size): 20 21* **Serialize**: serialize data into a buffer 22* **Deserialize**: deserializes a buffer into a normal rust object 23* **Size**: the size of the buffer when serialized 24* **Zlib**: the size of the buffer after zlib compression 25 26Zero-copy deserialization libraries have an additional set of benchmarks: 27 28* **Access**: accesses a buffer as structured data 29* **Read**: runs through a buffer and reads fields out of it 30* **Update**: updates a buffer as structured data 31 32Some benchmark results may be italicized and followed by an asterisk. Mouse over these for more details on what situation was benchmarked. Other footnotes are located at the bottom. 33 34## Last updated: {date} 35 36{tables}{links} 37 38## Footnotes: 39 40\* *mouse over for situational details* 41 42† *do not provide deserialization capabilities, but the user can write their own* 43 44‡ *do not support buffer mutation (`capnp` and `flatbuffers` may but not for rust)*