dielduarte / graphql-devtools

WIP a frameworkless Graphql dev tool focused in a good DX and simplicity - written in TS and state machines just for fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perf issues parsing big data json objects

dielduarte opened this issue · comments

We use Prisma to parse and highlight JSON and Graphql queries, I'm currently facing some issues while parsing a huge amount of data payloads.

For now, I split the parser and highlight to parse only the active context (query, headers, variables, data) but still, while parsing data it is blocking the main thread for the user.

possible solution: web worker to parse in a different thread and loading state.