-
Notifications
You must be signed in to change notification settings - Fork 569
Fix "has map" performance - [MOD-9687] #6636
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
Conversation
Automated performance analysis summaryThis comment was automatically generated given there is performance data available. In summary:
You can check a comparison in detail via the grafana link Performance Improvements - Comparison between master and guyav-fix_hasMap_performance.Time Period from 30 days ago. (environment used: oss-standalone)
Performance Regressions and Issues - Comparison between master and guyav-fix_hasMap_performance.Time Period from 30 days ago. (environment used: oss-standalone)
Tests with No Significant Changes (29 tests)Tests with No Significant Changes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6636 +/- ##
==========================================
- Coverage 87.45% 87.42% -0.04%
==========================================
Files 282 282
Lines 44844 44844
Branches 7747 7747
==========================================
- Hits 39219 39204 -15
- Misses 5507 5522 +15
Partials 118 118
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Successfully created backport PR for |
|
Successfully created backport PR for |
|
Successfully created backport PR for |
Describe the changes in the pull request
Fix "has map" performance by using the cached boolean value
resp3of the reply, instead of checking with the redis API for every serialized result.The solution assumes redis version >= 7 (which is true for
2.8and later)The macros replaced are:
But since
2.8and later versions reject redis < 7.1, the API is available, so they can be reduced to theis_resp3(ctx)check.Mark if applicable