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

Slow parsing H1 schema #32

Open
execveat opened this issue Oct 12, 2023 · 1 comment
Open

Slow parsing H1 schema #32

execveat opened this issue Oct 12, 2023 · 1 comment
Assignees
Labels
Performance Things are unreasonably slow

Comments

@execveat
Copy link
Contributor

It takes two minutes to parse (huge) Activity query from the H1 schema:

$ time gqlspection -q activity -f h1.json -d 1

h1.json

@execveat execveat added the Performance Things are unreasonably slow label Oct 20, 2023
@execveat execveat self-assigned this Oct 20, 2023
@execveat
Copy link
Contributor Author

Well, after replacing recursive query generation with iterative version in #33 the query generation went down from 2 minutes to a couple of seconds. The depth calculation was adjusted as well, so the comparison isn't completely fair, but overall it looks like the rest of optimizations could wait for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Things are unreasonably slow
Projects
None yet
Development

No branches or pull requests

1 participant