Update docs

This commit is contained in:
Sunli 2020-06-02 08:57:45 +08:00
parent 95daba6b3a
commit 7a3c4792f5
2 changed files with 13 additions and 5 deletions

View File

@ -28,7 +28,11 @@ To see how you would create a Relay-compliant server using async-graphql, warp,
## Benchmarks
```bash
git clone https://github.com/async-graphql/benchmark
cargo run --release
Ensure that there is no CPU-heavy process in background!
```shell script
cd benchmark
cargo bench
```
Now HTML report is available at `benchmark/target/criterion/report`

View File

@ -82,11 +82,15 @@
//!
//! ## Benchmarks
//!
//! Ensure that there is no CPU-heavy process in background!
//!
//! ```shell script
//! git clone https://github.com/async-graphql/benchmark
//! cargo run --release
//! cd benchmark
//! cargo bench
//! ```
//!
//! Now HTML report is available at `benchmark/target/criterion/report`
//!
#![warn(missing_docs)]
#![allow(clippy::needless_doctest_main)]