Skip to content
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

Avoid fetch for GraphQL queries with explicit sha #891

Conversation

christian-schilling
Copy link
Member

If the sha already exists on the proxy and no other refs are
required this gives a massive performance boost.
In particular it makes the code browser much faster.

Change-Id: graphql-no-sha-fetch

josh-proxy/src/bin/josh-proxy.rs Outdated Show resolved Hide resolved
josh-proxy/src/bin/josh-proxy.rs Outdated Show resolved Hide resolved
src/graphql.rs Show resolved Hide resolved
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/graphql-no-sha-fetch branch from 03db025 to 2f7b2d7 Compare August 22, 2022 13:58
If the sha already exists on the proxy and no other refs are
required this gives a massive performance boost.
In particular it makes the code browser much faster.

Change-Id: graphql-no-sha-fetch
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/graphql-no-sha-fetch branch from 2f7b2d7 to 39eaa96 Compare August 22, 2022 16:37
@LMG LMG merged commit b02cdc8 into master Aug 23, 2022
@LMG LMG deleted the @changes/master/christian.schilling.de@gmail.com/graphql-no-sha-fetch branch August 23, 2022 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants