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:
git submodule update # update the examples repo cd examples && cargo run --bin [name]
Ensure that there is no CPU-heavy process in background!
cd benchmark #measure all with system malloc cargo bench #measure only chat run cargo bench -- "chat run" #measure all with jemalloc cargo bench --features jemalloc #measure only simple run with jemalloc cargo bench --features jemalloc -- "simple run"
Now HTML report is available at
Read more here: https://bheisler.github.io/criterion.rs/book/criterion_rs.html
Licensed under either of
Welcome to contribute !