mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
aaf20b971f
GITHUB_PR_NUMBER: 9401 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9401 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7672 Co-authored-by: arjunyel <11153289+arjunyel@users.noreply.github.com> Co-authored-by: Praveen Durairaju <14110316+praveenweb@users.noreply.github.com> GitOrigin-RevId: 9b0e9a3dd4cee1ef0a76fb45dee3d5e76d404512 |
||
---|---|---|
.. | ||
hasura | ||
nodejs | ||
benchmark.sh | ||
config.query.hasura.yaml | ||
config.query.node.yaml | ||
docker-compose.hasura.yml | ||
docker-compose.node.yml | ||
README.md | ||
report.hasura.json | ||
report.nodejs.json |
GraphQL Benchmarking
Uses the Chinook sample database. Tested on macOS Ventura 13.1.
Instructions
-
Checkout https://github.com/hasura/graphql-bench and build the docker container with
make build_local_docker_image
-
Run
docker compose -f docker-compose.hasura.yml up -d
to bootstrap Postgres with Chinook. -
After a few minutes check the Hasura docker logs to see if Hasura is running, which implies the database is now bootstrapped. Run
docker compose -f docker-compose.hasura.yml down
-
Run the benchmarks
sh benchmark.sh
-
Open the results on the GraphQL bench website https://hasura.github.io/graphql-bench/app/web-app/