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

polish: remove misleading comment #3806

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

yaacovCR
Copy link
Contributor

We could not demonstrate via actual benchmarking that the tick reduction from awaiting a promise prior to returning it translates into real-world performance gains. See #3796.

In any case, the promise must be awaited (irrespective of performance) to allow the catch block to handle rejection errors. Simply returning completed would result in test failures.

We could not demonstrate via actual benchmarking that the tick reduction from awaiting a promise prior to returning it translates into real-world performance gains. See graphql#3796.

In any case, the promise must be awaited (irrespective of performance) to allow the catch block to handle rejection errors. Simply returning `completed` would result in test failures.
@netlify
Copy link

netlify bot commented Dec 27, 2022

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit afd722e
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/63aaf3b20442f20008bcf64a
😎 Deploy Preview https://deploy-preview-3806--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 settings.

@yaacovCR yaacovCR requested a review from a team December 27, 2022 13:31
@yaacovCR yaacovCR added the PR: polish 💅 PR doesn't change public API or any observed behaviour label Dec 27, 2022
@github-actions
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
Copy link
Contributor Author

yaacovCR commented Jan 2, 2023

To be clear, I was the author of the misleading comment in question. :)

@yaacovCR yaacovCR merged commit 7a609a2 into graphql:main Jan 2, 2023
@yaacovCR yaacovCR deleted the remove-misleading-comment branch January 2, 2023 14:42
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.

2 participants