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

fix: skip strict null logicals #5221

Merged
merged 3 commits into from
Sep 23, 2022
Merged

Conversation

onelson
Copy link
Contributor

@onelson onelson commented Sep 23, 2022

Not yet sure this is a problem or not, but the thinking is the feature flag check we do inside the new strict null logical evaluator is too expensive to tolerate.

Selecting the original evaluator will bypass the feature flag check so we can watch the perf impact and learn if it is truly too expensive 😓

Testcases that depend on the (newer) strict null version have been skipped to allow the CI to pass.

Checklist

Dear Author 👋, the following checks should be completed (or explicitly dismissed) before merging.

  • ✏️ Write a PR description, regardless of triviality, to include the value of this PR
  • 🔗 Reference related issues
  • 🏃 Test cases are included to exercise the new code
  • 🧪 If new packages are being introduced to stdlib, link to Working Group discussion notes and ensure it lands under experimental/
  • 📖 If language features are changing, ensure docs/Spec.md has been updated

Dear Reviewer(s) 👋, you are responsible (among others) for ensuring the completeness and quality of the above before approval.

@onelson onelson marked this pull request as ready for review September 23, 2022 08:03
@onelson onelson requested a review from a team as a code owner September 23, 2022 08:03
@skartikey
Copy link
Contributor

make fmt would be required. Do you want to mention the EAR reference here just for context?

@onelson onelson force-pushed the onelson/fix/skip-strict-null-logicals branch from 35cb410 to 246a5dd Compare September 23, 2022 08:09
@onelson
Copy link
Contributor Author

onelson commented Sep 23, 2022

Wasn't sure it was polite to say the EAR out here.

@onelson onelson merged commit b760312 into master Sep 23, 2022
@onelson onelson deleted the onelson/fix/skip-strict-null-logicals branch September 23, 2022 08:41
onelson pushed a commit that referenced this pull request Sep 28, 2022
A new version of our logical evaluator was introduced in an effort to
re-align the lang with the spec regarding nulls. Ref:
<#5192>

The "strict null" flavor of the logical evaluator was
bypassed as part of a perf regression investigation. Ref:
<#5221>

The thought was checking the feature flag with each eval was adding
overhead and raising query latency, but with a susequent refactor
(<#5222>) we are now able to
check the flag earlier, reducing the overhead.
@onelson onelson mentioned this pull request Sep 28, 2022
5 tasks
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.

3 participants