Async-graphql
is a high-performance server-side library that supports all GraphQL specifications.
This crate uses #![forbid(unsafe_code)]
to ensure everything is implemented in 100% Safe Rust.
All examples are in the sub-repository, located in the examples directory.
Run an example:
shell
git submodule update # update the examples repo
cd examples && cargo run --bin [name]
Ensure that there is no CPU-heavy process in background!
```shell script cd benchmark
cargo bench
cargo bench -- "chat run"
cargo bench --features jemalloc
cargo bench --features jemalloc -- "simple run" ```
Now HTML report is available at benchmark/target/criterion/report
Read more here: https://bheisler.github.io/criterion.rs/book/criterion_rs.html
Licensed under either of
Welcome to contribute !