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

incremental: introduce GraphQLWrappedResult to avoid filtering #4026

Merged
merged 27 commits into from Apr 18, 2024

Conversation

yaacovCR
Copy link
Contributor

@yaacovCR yaacovCR commented Mar 10, 2024

following graphql/graphql-spec#1077

now part of the following PR stack, with the laters PRs extracted from this one

#4026: incremental: introduce GraphQLWrappedResult to avoid filtering
#4050: perf: allow skipping of field plan generation
#4051: perf: introduce completePromisedListItemValue
#4052: refactor: introduce completeIterableValue
#4053: perf: optimize completion loops
#4046: perf: use undefined for empty

Copy link

netlify bot commented Mar 10, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 6e44e3a
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/66202c810a7566000827f3b9
😎 Deploy Preview https://deploy-preview-4026--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

Hi @yaacovCR, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

@yaacovCR yaacovCR force-pushed the take-two branch 2 times, most recently from 5c12269 to 2665ebd Compare March 11, 2024 10:49
@yaacovCR

This comment has been minimized.

Copy link

@github-actions publish-pr-on-npm

@yaacovCR The latest changes of this PR are available on NPM as
graphql@17.0.0-alpha.3.canary.pr.4026.5922420b3b235970ee230497190e28c8290c8f16
Note: no gurantees provided so please use your own discretion.

Also you can depend on latest version built from this PR:
npm install --save graphql@canary-pr-4026

@yaacovCR

This comment has been minimized.

Copy link

@github-actions publish-pr-on-npm

@yaacovCR The latest changes of this PR are available on NPM as
graphql@17.0.0-alpha.3.canary.pr.4026.5e657d31b3abdc38acd6bb21c50ed3a41aa33905
Note: no gurantees provided so please use your own discretion.

Also you can depend on latest version built from this PR:
npm install --save graphql@canary-pr-4026

@yaacovCR

This comment has been minimized.

Copy link

@github-actions publish-pr-on-npm

@yaacovCR The latest changes of this PR are available on NPM as
graphql@17.0.0-alpha.3.canary.pr.4026.d2f30cc0780dd436b1a05aa23dfa28c83da7d033
Note: no gurantees provided so please use your own discretion.

Also you can depend on latest version built from this PR:
npm install --save graphql@canary-pr-4026

@yaacovCR

This comment has been minimized.

Copy link

@github-actions publish-pr-on-npm

@yaacovCR The latest changes of this PR are available on NPM as
graphql@17.0.0-alpha.3.canary.pr.4026.1140ceffaf9629dd46a16d4fd28479240752f6eb
Note: no gurantees provided so please use your own discretion.

Also you can depend on latest version built from this PR:
npm install --save graphql@canary-pr-4026

@yaacovCR

This comment has been minimized.

@yaacovCR yaacovCR changed the title incremental: introduce GraphQLResult type to avoid filtering incremental: introduce GraphQLWrappedResult type to avoid filtering Apr 16, 2024
@yaacovCR yaacovCR changed the title incremental: introduce GraphQLWrappedResult type to avoid filtering incremental: introduce GraphQLWrappedResult to avoid filtering Apr 16, 2024
@yaacovCR
Copy link
Contributor Author

reposting benchmarks considering there were a few changes

image

alpha-1 is prior to incremental delivery, current-main is basically alpha-3, and we see that the rewrite improves on it significantly in the synchronous list case. the next set of PRs should hopefully improve further. we can then judge whether we should/want to bring back a form of filtering.

@yaacovCR yaacovCR merged commit 05e7a29 into graphql:main Apr 18, 2024
20 checks passed
@yaacovCR yaacovCR deleted the take-two branch April 18, 2024 13:46
yaacovCR added a commit that referenced this pull request Apr 19, 2024
in the non-deferred case.

depends on #4026

---------

Co-authored-by: Rob Richard <rob@1stdibs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: polish 💅 PR doesn't change public API or any observed behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants