Link to benchmarks from readme

Fixes #82.
This commit is contained in:
David Tolnay 2017-05-08 16:56:11 -07:00
parent 4e33d77b71
commit 0e02332ec6
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -294,6 +294,16 @@ way. This includes built-in Rust standard library types like `Vec<T>` and
`HashMap<K, V>`, as well as any structs or enums annotated with
`#[derive(Serialize)]`.
## Performance
It is fast. You should expect in the ballpark of 500 to 1000 megabytes per
second deserialization and 600 to 900 megabytes per second serialization,
depending on the characteristics of your data. This is competitive with the
fastest C and C++ JSON libraries or even 30% faster for many use cases.
Benchmarks live in the [serde-rs/json-benchmark] repo.
[serde-rs/json-benchmark]: https://github.com/serde-rs/json-benchmark
## Getting help
Serde developers live in the #serde channel on