we are migrating from REST API to GraphQL API, as advised by Shopify. However, we have found that for queries like the following, the GraphQL API often takes more than 10 seconds in average, when a similar query with REST API takes just about 300 milliseconds.
sure. Just a comment, I am sharing the ‘x-request-id’ of the responses, and not the ‘x-shopify-request-id’ as you mentioned, as I could not find that header.
In the following cases, the average time of the GraphQL API response has been around 2 seconds, which is still much larger than the REST API 300 milliseconds.