Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into k6_migration
Browse files Browse the repository at this point in the history
  • Loading branch information
beelchester committed Jul 23, 2024
2 parents de25bba + 1814866 commit 7a44cfe
Show file tree
Hide file tree
Showing 14 changed files with 157 additions and 111 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,32 +58,32 @@ Get started with the benchmarks:
| Query | Server | Requests/sec | Latency (ms) | Relative |
|-------:|--------:|--------------:|--------------:|---------:|
| 1 | `{ posts { id userId title user { id name email }}}` |
|| [Tailcall] | `29,665.80` | `3.36` | `425.07x` |
|| [async-graphql] | `1,851.17` | `54.68` | `26.52x` |
|| [Caliban] | `1,576.28` | `63.08` | `22.59x` |
|| [GraphQL JIT] | `1,365.61` | `72.93` | `19.57x` |
|| [Gqlgen] | `775.69` | `127.90` | `11.11x` |
|| [Netflix DGS] | `363.35` | `176.43` | `5.21x` |
|| [Apollo GraphQL] | `274.89` | `357.34` | `3.94x` |
|| [Hasura] | `69.79` | `547.07` | `1.00x` |
|| [Tailcall] | `29,496.60` | `3.38` | `196.74x` |
|| [async-graphql] | `1,805.45` | `55.70` | `12.04x` |
|| [Caliban] | `1,547.91` | `64.33` | `10.32x` |
|| [GraphQL JIT] | `1,335.26` | `74.60` | `8.91x` |
|| [Gqlgen] | `772.80` | `128.41` | `5.15x` |
|| [Netflix DGS] | `358.06` | `177.42` | `2.39x` |
|| [Apollo GraphQL] | `268.25` | `366.16` | `1.79x` |
|| [Hasura] | `149.93` | `549.07` | `1.00x` |
| 2 | `{ posts { title }}` |
|| [Tailcall] | `58,926.60` | `1.69` | `67.13x` |
|| [async-graphql] | `9,316.32` | `10.76` | `10.61x` |
|| [Caliban] | `9,125.46` | `11.31` | `10.40x` |
|| [Gqlgen] | `2,208.06` | `46.75` | `2.52x` |
|| [Apollo GraphQL] | `1,781.77` | `56.05` | `2.03x` |
|| [Netflix DGS] | `1,609.56` | `68.96` | `1.83x` |
|| [GraphQL JIT] | `1,400.50` | `71.31` | `1.60x` |
|| [Hasura] | `877.86` | `113.67` | `1.00x` |
|| [Tailcall] | `58,939.60` | `1.69` | `67.77x` |
|| [Caliban] | `9,238.76` | `11.16` | `10.62x` |
|| [async-graphql] | `9,138.76` | `11.34` | `10.51x` |
|| [Gqlgen] | `2,136.19` | `48.48` | `2.46x` |
|| [Apollo GraphQL] | `1,775.87` | `56.26` | `2.04x` |
|| [Netflix DGS] | `1,593.80` | `69.82` | `1.83x` |
|| [GraphQL JIT] | `1,399.68` | `71.35` | `1.61x` |
|| [Hasura] | `869.69` | `114.81` | `1.00x` |
| 3 | `{ greet }` |
|| [Caliban] | `68,097.90` | `1.10` | `25.87x` |
|| [Tailcall] | `60,001.70` | `1.67` | `22.79x` |
|| [Gqlgen] | `48,414.40` | `5.11` | `18.39x` |
|| [async-graphql] | `47,752.20` | `2.19` | `18.14x` |
|| [Netflix DGS] | `8,383.83` | `14.93` | `3.18x` |
|| [Apollo GraphQL] | `8,190.26` | `12.39` | `3.11x` |
|| [GraphQL JIT] | `5,175.24` | `19.29` | `1.97x` |
|| [Hasura] | `2,632.45` | `37.92` | `1.00x` |
|| [Caliban] | `67,637.00` | `1.07` | `25.83x` |
|| [Tailcall] | `59,557.80` | `1.69` | `22.75x` |
|| [Gqlgen] | `47,525.20` | `5.21` | `18.15x` |
|| [async-graphql] | `47,150.60` | `2.21` | `18.01x` |
|| [Netflix DGS] | `8,261.44` | `15.02` | `3.16x` |
|| [Apollo GraphQL] | `8,186.12` | `12.54` | `3.13x` |
|| [GraphQL JIT] | `5,273.45` | `18.93` | `2.01x` |
|| [Hasura] | `2,618.18` | `38.13` | `1.00x` |

<!-- PERFORMANCE_RESULTS_END -->

Expand Down
24 changes: 6 additions & 18 deletions graphql/apollo_server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions graphql/apollo_server/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# For apollo server:
cd graphql/apollo_server
npm i
cd ../../
4 changes: 4 additions & 0 deletions graphql/async_graphql/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# For async-graphql
./graphql/async_graphql/build.sh
6 changes: 6 additions & 0 deletions graphql/caliban/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# For caliban
cd graphql/caliban
./sbt compile
cd ../../
5 changes: 5 additions & 0 deletions graphql/gqlgen/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# For gqlgen:
cd graphql/gqlgen
go build -o main main.go
6 changes: 6 additions & 0 deletions graphql/graphql_jit/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# For graphql_jit
cd graphql/graphql_jit
npm install
cd ../../
6 changes: 6 additions & 0 deletions graphql/hasura/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# For hasura
cd graphql/hasura
npm install
cd ../../
6 changes: 6 additions & 0 deletions graphql/netflix_dgs/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# For netflix dgs
cd graphql/netflix_dgs
./gradlew build
cd ../../
88 changes: 44 additions & 44 deletions graphql/tailcall/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion graphql/tailcall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"@tailcallhq/tailcall": "0.96.16"
"@tailcallhq/tailcall": "0.96.17"
}
}
6 changes: 6 additions & 0 deletions graphql/tailcall/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# For tailcall:
cd graphql/tailcall
npm install
cd ../../
Loading

1 comment on commit 7a44cfe

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Query Server Requests/sec Latency (ms) Relative
1 { posts { id userId title user { id name email }}}
[Tailcall] -nan -nan -nanx
[Netflix DGS] -nan -nan -nanx
[Hasura] -nan -nan -nanx
[GraphQL JIT] -nan -nan -nanx
[Gqlgen] -nan -nan -nanx
[Caliban] -nan -nan -nanx
[async-graphql] -nan -nan -nanx
[Apollo GraphQL] -nan -nan -nanx
2 { posts { title }}
[Tailcall] -nan -nan -nanx
[Netflix DGS] -nan -nan -nanx
[Hasura] -nan -nan -nanx
[GraphQL JIT] -nan -nan -nanx
[Gqlgen] -nan -nan -nanx
[Caliban] -nan -nan -nanx
[async-graphql] -nan -nan -nanx
[Apollo GraphQL] -nan -nan -nanx
3 { greet }
[Tailcall] -nan -nan -nanx
[Netflix DGS] -nan -nan -nanx
[Hasura] -nan -nan -nanx
[GraphQL JIT] -nan -nan -nanx
[Gqlgen] -nan -nan -nanx
[Caliban] -nan -nan -nanx
[async-graphql] -nan -nan -nanx
[Apollo GraphQL] -nan -nan -nanx

Please sign in to comment.