You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see "reloading module info" 3 times when we generate our config, so I did a little test to see if it actually helps with anything. It doesn't appear to. It seems to just cause unnecessary slowness.
I also see that if we don't call "evict" or "reloadall" we can run gqlgen in 15s rather than 26, so saving 10s or 50% of the run time... but that's a topic for another issue.
vikstrous
added a commit
to vikstrous/gqlgen
that referenced
this issue
Jan 23, 2023
What happened?
I see "reloading module info" 3 times when we generate our config, so I did a little test to see if it actually helps with anything. It doesn't appear to. It seems to just cause unnecessary slowness.
What did you expect?
What I saw:
Minimal graphql.schema and models to reproduce
our config is massive, sorry...
versions
go run github.com/99designs/gqlgen version
? 0.17.22go version
? 1.19Removing this "reloading" reduces the run time for us from 38s to 26s
The text was updated successfully, but these errors were encountered: