-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] [$250] [HOLD for Payment 2024-06-21] LOW: [Performance] Improve the performance of getCachedCollection #41895
Comments
Triggered auto assignment to @puneetlath ( |
@mountiny Please assign this to me 👋 |
Onyx PR merged, asking Ali to raise App onyx bump PR https://expensify.slack.com/archives/C05LX9D6E07/p1715605661167679?thread_ts=1715178705.054759&cid=C05LX9D6E07 |
PR has gone through Applause testing. @ikevin127 volunteered to help triaging the found bugs and so we identify what are real bugs stemming from the onyx bump quicker |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
✅ Triaged all the reported PR issues and summarized in #42057 (comment). |
Thanks, very helpful! |
@puneetlath @marcaaron @mountiny @hurali97 @ikevin127 this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
This was a large PR and big effort, with multiple Onyx PRs and multiple rounds of testing of the App PR I suggest $1000 to @ikevin127 for their exemplary work on the onyx bump, testing, reviewing and bringing clarity into regressions raised from Applause helping Chris to get this PR over the finish line soon. $250 to @s77rt since they have entered this task at later phase, also very helpful though |
I think @puneetlath is assigned as BZ here, let me know if not. Thanks! |
This comment was marked as resolved.
This comment was marked as resolved.
Job added to Upwork: https://www.upwork.com/jobs/~0145b3587af847aed1 |
Current assignees @s77rt and @ikevin127 are eligible for the External assigner, not assigning anyone new. |
@ikevin127 can you please accept the job and reply here once you have? |
Contributor: @ikevin127 paid $1000 via Upwork (per @mountiny 's comment above) Doesn't look like this needs a regression test, comment/reopen if anyone disagrees. |
$250 approved for @s77rt |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 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 2024-07-02. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Checklist ^ does not apply here. Not a bug |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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 2024-07-10. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Slack here
Problem
We have many calls to keysChanged function throughout the session and on an average it will be around ~800 ms. That’s a lot for a function which is called this many times. From the trace, this function is called roughly around 15 times.
Inside of this function we have getCachedCollection , which first calls Array.from on the Set then filter it out and then reduce the returned value.
Solution
We can improve this by doing only 1 loop directly on Set as it gives us forEach.
cc @hurali97
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: