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
v3 Plugin becomes very slow and even lags on large schema #497
Comments
@kevinmu can you try with 3.0.5 and let us know if this is still happening? Thanks! |
I'm having this as well on 3.0.5 with Firefox, as are my teammates on their platforms. There also seems to be a memory leak, since my browser just got oomkilled because of this:
For comparison, our |
As a data point, I've observed slowness with version 3.0.5 of the extension on two setups:
My schema is about 4.5 MB. |
Since this issue was opened, a new major version of the devtools were released. If anyone has more recent info in the way of a reproduction, I'd be happy to re-open this issue, but for now I'll close it out. Thanks! |
This is still an issue for me (v4.4.1), especially on the Cache window. There is noticeable lag when clicking elements and even hover overs. If I try to interact with the tool for more than a few minutes the Chrome debugger will crash (or force a breakpoint, which was odd). Our schema is fairly large, though I haven't tested against a control to determine if this is relevant. |
Reopening this since it's still occurring. Thanks for the comment, @JeffJankowski - if you're able to share the size of the schema.json you're working with it would be a useful data point to add to the ones above. Thanks! |
@alessbell Our schema.json is ~15MB OS: Windows 10 Pro |
Intended outcome:
In the previous version of the Apollo Client Devtools Chrome plugin (I guess v2?), I could type and run queries pretty quickly; there was no visible lag. Of course the introspection query did take some time to populate, but that was okay. Auto-suggestions worked quickly.
Actual outcome:
In this new version, even typing queries into the workspace becomes a challenge. Constant lagging (registering my keystrokes a second or two after I enter them), sometimes even freezing the Chrome window I'm working in.
How to reproduce the issue:
Happens every time I try to use the devtools. I am working with a fairly large schema (schema.json is 6.5MB for reference), but it was working fine before the upgrade to v3.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: