Uses the Chinook sample database. Tested on macOS Ventura 13.1.
-
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/