Skip to content

Commit d89a9a0

Browse files
committed
a
1 parent ef89b37 commit d89a9a0

File tree

3 files changed

+144
-100
lines changed

3 files changed

+144
-100
lines changed

Cargo.lock

Lines changed: 141 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = { path = "/Users/sunli/work/async-graphql" }
9-
#async-std = { version = "1.5.0", features = ["attributes"] }
10-
tokio = { version = "0.2.13", features = ["full"] }
8+
async-graphql = { version = "1.7.4" }
9+
async-std = { version = "1.5.0", features = ["attributes"] }
1110
juniper = { git = "https://github.com/graphql-rust/juniper"}
1211
futures = "0.3.4"
1312
serde_json = "*"

src/main.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
// use jemallocator::Jemalloc;
2-
//
3-
// #[cfg(not(target_env = "msvc"))]
4-
// #[global_allocator]
5-
// static GLOBAL: Jemalloc = Jemalloc;
6-
// use mimallocator::Mimalloc;
7-
81
mod async_graphql_benchmark;
92
mod juniper_benchmark;
103

11-
#[tokio::main]
4+
#[async_std::main]
125
async fn main() {
136
juniper_benchmark::run().await;
147
async_graphql_benchmark::run().await;

0 commit comments

Comments
 (0)