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
Revert "Add ServerValue.increment() methods." #1104
Conversation
This reverts commit 847c7a8.
cc @inlined |
Codecov Report
@@ Coverage Diff @@
## master #1104 +/- ##
============================================
+ Coverage 57.12% 58.35% +1.22%
- Complexity 6218 6318 +100
============================================
Files 640 640
Lines 31446 31397 -49
Branches 4335 4331 -4
============================================
+ Hits 17965 18322 +357
+ Misses 12056 11621 -435
- Partials 1425 1454 +29
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert looks fine, though I think the update() codepath ends up hitting
Line 163 in fa9a8c7
entry.getValue(), existing.getChild(entry.getKey()), serverValues)); |
which doesn't have the same bug that web had. So the perf regression likely isn't present.
Closing this for now to reduce churn, especially since we haven't seen evidence of performance regressions on Android. Let's try to fix JS first and if there are any changes, we can backport them. |
Reverts #991
Reverting this change as it likely has performance implications (as shown in firebase/firebase-js-sdk#2487)