doyensec/GQLSpection

Slow parsing H1 schema

execveat opened this issue · 1 comments

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

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

h1.json

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.