Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 42f461f

Browse files
committed
Merge branch 'main' into analyze_port
2 parents af52228 + 83f0152 commit 42f461f

31 files changed

+306
-205
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dockerfile": "Dockerfile",
1111
"context": ".."
1212
},
13-
"runArgs": ["-v", "/var/run/docker.sock:/var/run/docker.sock"],
13+
"runArgs": ["-v", "/var/run/docker.sock:/var/run/docker.sock", "--network=host"],
1414
"forwardPorts": [8000, 3000],
1515
"postCreateCommand": "bash ./setup.sh"
1616
}

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,32 +51,32 @@ Get started with the benchmarks:
5151
| Query | Server | Requests/sec | Latency (ms) | Relative |
5252
|-------:|--------:|--------------:|--------------:|---------:|
5353
| 1 | `{ posts { id userId title user { id name email }}}` |
54-
|| [Tailcall] | `30,409.80` | `3.28` | `111.72x` |
55-
|| [async-graphql] | `1,869.13` | `53.96` | `6.87x` |
56-
|| [Caliban] | `1,569.67` | `63.48` | `5.77x` |
57-
|| [Hasura] | `1,547.31` | `64.59` | `5.68x` |
58-
|| [GraphQL JIT] | `1,331.15` | `74.77` | `4.89x` |
59-
|| [Gqlgen] | `770.44` | `128.79` | `2.83x` |
60-
|| [Netflix DGS] | `358.01` | `224.74` | `1.32x` |
61-
|| [Apollo GraphQL] | `272.19` | `361.26` | `1.00x` |
54+
|| [Tailcall] | `28,320.00` | `3.52` | `175.34x` |
55+
|| [async-graphql] | `1,784.61` | `57.51` | `11.05x` |
56+
|| [Caliban] | `1,523.52` | `65.29` | `9.43x` |
57+
|| [GraphQL JIT] | `1,311.50` | `75.93` | `8.12x` |
58+
|| [Gqlgen] | `744.41` | `133.27` | `4.61x` |
59+
|| [Netflix DGS] | `354.53` | `192.91` | `2.20x` |
60+
|| [Apollo GraphQL] | `264.73` | `370.46` | `1.64x` |
61+
|| [Hasura] | `161.51` | `496.54` | `1.00x` |
6262
| 2 | `{ posts { title }}` |
63-
|| [Tailcall] | `62,136.90` | `1.60` | `44.43x` |
64-
|| [async-graphql] | `9,454.06` | `10.64` | `6.76x` |
65-
|| [Caliban] | `9,307.86` | `11.10` | `6.66x` |
66-
|| [Hasura] | `2,506.21` | `39.89` | `1.79x` |
67-
|| [Gqlgen] | `2,158.45` | `47.92` | `1.54x` |
68-
|| [Apollo GraphQL] | `1,757.07` | `56.84` | `1.26x` |
69-
|| [Netflix DGS] | `1,582.36` | `70.62` | `1.13x` |
70-
|| [GraphQL JIT] | `1,398.58` | `71.39` | `1.00x` |
63+
|| [Tailcall] | `58,223.00` | `1.71` | `68.82x` |
64+
|| [Caliban] | `9,102.02` | `11.33` | `10.76x` |
65+
|| [async-graphql] | `9,042.00` | `11.20` | `10.69x` |
66+
|| [Gqlgen] | `2,136.74` | `48.34` | `2.53x` |
67+
|| [Apollo GraphQL] | `1,742.58` | `57.30` | `2.06x` |
68+
|| [Netflix DGS] | `1,584.25` | `69.49` | `1.87x` |
69+
|| [GraphQL JIT] | `1,337.30` | `74.68` | `1.58x` |
70+
|| [Hasura] | `845.98` | `117.95` | `1.00x` |
7171
| 3 | `{ greet }` |
72-
|| [Caliban] | `67,597.40` | `1.09` | `26.67x` |
73-
|| [Tailcall] | `63,718.90` | `1.58` | `25.14x` |
74-
|| [async-graphql] | `51,188.60` | `2.04` | `20.20x` |
75-
|| [Gqlgen] | `46,807.00` | `5.16` | `18.47x` |
76-
|| [Netflix DGS] | `8,110.59` | `14.73` | `3.20x` |
77-
|| [Apollo GraphQL] | `8,066.03` | `12.60` | `3.18x` |
78-
|| [GraphQL JIT] | `5,241.73` | `19.05` | `2.07x` |
79-
|| [Hasura] | `2,534.19` | `39.37` | `1.00x` |
72+
|| [Caliban] | `66,940.20` | `1.09` | `26.59x` |
73+
|| [Tailcall] | `59,316.40` | `1.70` | `23.56x` |
74+
|| [async-graphql] | `47,630.90` | `2.14` | `18.92x` |
75+
|| [Gqlgen] | `46,908.30` | `5.23` | `18.63x` |
76+
|| [Netflix DGS] | `8,151.83` | `15.19` | `3.24x` |
77+
|| [Apollo GraphQL] | `7,931.63` | `12.75` | `3.15x` |
78+
|| [GraphQL JIT] | `5,147.67` | `19.40` | `2.04x` |
79+
|| [Hasura] | `2,517.36` | `39.64` | `1.00x` |
8080

8181
<!-- PERFORMANCE_RESULTS_END -->
8282

assets/latency_histogram1.png

-2.11 KB
Loading

assets/latency_histogram2.png

-233 Bytes
Loading

assets/latency_histogram3.png

12 Bytes
Loading

assets/req_sec_histogram1.png

-753 Bytes
Loading

assets/req_sec_histogram2.png

-502 Bytes
Loading

assets/req_sec_histogram3.png

-59 Bytes
Loading

graphql/apollo_server/setup.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
# For apollo server:
4+
cd graphql/apollo_server
5+
npm i
6+
cd ../../

graphql/async_graphql/setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
# For async-graphql
4+
./graphql/async_graphql/build.sh

0 commit comments

Comments
 (0)