apollographql / apollo-tooling

✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
https://apollographql.com
MIT License
3.04k stars 470 forks source link

VSCode helper pegged at 100% #1109

Open ghost opened 5 years ago

ghost commented 5 years ago

When typing graphql queries the "Code Helper" process immediately jumps to 100% and stays there for a very long time. From the looks of things every keypress in a graphql fragment is triggering an update of some sort as I get errors under various parts of the gql query that bounce around for a few minutes after I'm done typing it. Maybe debounce the keypresses?

gql-plugin

Versions

v1.5.2 of the plugin, 1.31.1 of vscode

bezreyhan commented 5 years ago

Could this be related to https://github.com/apollographql/apollo-tooling/issues/1061?

remidej commented 5 years ago

What's the status for this issue ? Is there a plan to fix it ?

JakeDawkins commented 5 years ago

Can you check this with the latest version of the extension? We were doing some pretty expensive validation work with recent releases that we've fixed. If you're still seeing this, that may be part of the reason. Otherwise, if you can confirm this is still happening (and not happening when the extension is disabled), I can investigate some more.

I'd also be interested in disabling go-to-extension to see if this is actually a separate issue from #1061. But I'd like to confirm its still happening first :)