Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: large response array size call 'require()' many times make gql slow #341

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jiahui92
Copy link

my response data is about 4000 of a array, and move 'require()' to the top of file will faster
Screenshot 2024-09-19 114807

change before it take 5.6s, after it take 0.2s
image

@jiahui92 jiahui92 closed this Sep 30, 2024
@jiahui92 jiahui92 reopened this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant