apollographql / apollo-client

:rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
https://apollographql.com/client
MIT License
19.38k stars 2.66k forks source link

[Testing utilities] Performance test against a large schema #11711

Closed alessbell closed 7 months ago

alessbell commented 8 months ago

Issue Description

We will likely need to introduce caching when creating the mock schema (see https://github.com/apollographql/apollo-client/issues/11705#issuecomment-2009755540).

Link to Reproduction

N/A

Reproduction Steps

No response

@apollo/client version

N/A

alessbell commented 7 months ago

createMockSchema has performed well with the fairly large Spotify schema when testing with the Spotify Showcase. That combined with the fact that it will likely only be called once during test setup (unlike createProxiedSchema) is enough for me to justify closing this for now, until an actual performance problem is felt, at while point I'll be happy to re-open and investigate.

github-actions[bot] commented 7 months ago

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. For general questions, we recommend using StackOverflow or our discord server.