All queries (including simple ones) are taking a min of 4-5 seconds to complete. How can I improve this? #1039
Unanswered
drewgallagher
asked this question in
Q&A
Replies: 1 comment 5 replies
-
These are certainly runtimes I would not expect, if not much happens in the resolvers. Of course there are a lot of variables, so it's hard to say. Is your schema big? Lots of types? Besides that, I suggest to add further debug information; maybe also use custom middlewares for this or directly edit vendor files temporarily to get better measurements. Or use some external tooling, I've never used blackfire but I've seen people with great success finding bottlenecks. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to test the performance of a small query to see if anything is slowing down all requests built into the framework.
I tried a simple user query and logged the execution time of the actual query.
The query itself took very little time at all
However the insomnia request takes much longer as seen in the attached photo. On average it's around ~4-5 seconds.
Is there something with rebing/graphql or another integration that is adding overhead, slowing down our requests?
The code I used to test the query was here
Below is the average execution time of that request via insomnia
Beta Was this translation helpful? Give feedback.
All reactions