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 ## Benchmarks
```bash Ensure that there is no CPU-heavy process in background!
git clone https://github.com/async-graphql/benchmark
cargo run --release ```shell script
cd benchmark
cargo bench
``` ```
Now HTML report is available at `benchmark/target/criterion/report`

View File

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