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

perf: introduce completePromisedListItemValue #4051

Merged
merged 1 commit into from Apr 24, 2024

Conversation

yaacovCR
Copy link
Contributor

@yaacovCR yaacovCR commented Apr 7, 2024

depends on #4050

@yaacovCR yaacovCR requested a review from robrichard April 7, 2024 10:08
Copy link

netlify bot commented Apr 7, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit cf4d620
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/66241d76d75e7c0008d6027c
😎 Deploy Preview https://deploy-preview-4051--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.

@yaacovCR yaacovCR requested a review from a team April 7, 2024 10:08
Copy link

github-actions bot commented Apr 7, 2024

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
Copy link
Contributor Author

yaacovCR commented Apr 7, 2024

image

@yaacovCR yaacovCR added the PR: polish 💅 PR doesn't change public API or any observed behaviour label Apr 7, 2024
@yaacovCR
Copy link
Contributor Author

yaacovCR commented Apr 7, 2024

avoids an unnecessary .then()

@yaacovCR yaacovCR force-pushed the complete-promised-list-item-value branch 3 times, most recently from 3e963af to d171b67 Compare April 8, 2024 09:51
yaacovCR added a commit that referenced this pull request Apr 18, 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
@yaacovCR yaacovCR force-pushed the complete-promised-list-item-value branch from d171b67 to edded84 Compare April 18, 2024 19:37
@yaacovCR yaacovCR force-pushed the complete-promised-list-item-value branch from edded84 to cf4d620 Compare April 20, 2024 19:54
@yaacovCR yaacovCR merged commit 6acf33f into graphql:main Apr 24, 2024
20 checks passed
@yaacovCR yaacovCR deleted the complete-promised-list-item-value branch April 24, 2024 16:29
yaacovCR added a commit that referenced this pull request Apr 24, 2024
refactoring that will streamline when we introduce two versions of this
function to optimize the loop when not streaming

depends on #4051
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