-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] [$250] Adding users to group has a noticeable lag for high-traffic accounts #55554
Comments
Current assignee @OfstadC is eligible for the Bug assigner, not assigning anyone new. |
Current assignee @blimpich is eligible for the AutoAssignerNewDotQuality assigner, not assigning anyone new. |
This seems to share the same root cause I mentioned in another proposal. |
Hi! I'm Olimpia from Callstack and I'd like to work on this issue. |
Here is my update and first findings: This issue is mainly due to the heavy calculations in Line 63 in fe24cb3
These functions process large sets of reports with complex conditions, which can block the JS thread. I started investigating how we can improve their performance to address the lag. |
I found that the main bottleneck causing the lag is the Here's P/S: Background When the app scrolls up after tapping "Add to group", there’s a noticeable delay before the contact gets marked with a checkmark.. Problem The orderedOptions.personalDetails = orderedOptions.personalDetails.filter((detail, index, array) =>
array.findIndex((i) => i.login === detail.login) === index
); The Solution: Replace Before the optimization, the execution time was Before: before.mp4After: after1.mp4Draft PR: #56082 |
Job added to Upwork: https://www.upwork.com/jobs/~021885044308495106120 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf ( |
Added the @OlimpiaZurek fantastic! That seems like a great and straightforward solution. I love it when swapping out a data structure is the solution 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@allgandalf @OfstadC @allgandalf The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@allgandalf please complete BZ checklist before payment date. Thank you! |
Will complete it today, thanks! |
Thank you! |
@OfstadC @blimpich @OlimpiaZurek @allgandalf this issue is now 4 weeks old, please consider:
Thanks! |
Payment Summary
BugZero Checklist (@OfstadC)
|
@allgandalf please complete BZ checklist by EOD so we can issue payment 😃 Thanks! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Verify that the selected contact is marked instantly. Do we agree 👍 or 👎 |
Payment Summary Updated |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.84-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): applausetester+110106kh@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Actual Result:
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6712076_1736627825406.ScreenRecording_01-12-2025_04-31-44_1.1.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @OfstadCUpwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: