-
Notifications
You must be signed in to change notification settings - Fork 3k
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-04-05] [$500] [Performance] Memoize SidebarLinksData to reduce the getOrderedReportIDs calls #38055
Comments
Triggered auto assignment to @alexpensify ( |
@rinej can you please comment here so I can assign you? |
@mountiny sure |
Thanks |
Hello @mountiny, we decided to hold this off until we complete the remaining audit implementations because as of now, we are not yet sure whether we prefer the extra render without memo or increased rendering time with memo. We will evaluate this after all the audit action items are completed. |
Thanks for an update |
Weekly Update: Going through an audit |
Job added to Upwork: https://www.upwork.com/jobs/~011e08e65659afcb69 |
Current assignee @c3024 is eligible for the External assigner, not assigning anyone new. |
Weekly Update: The PR is under review and making progress |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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-04-05. 🎊 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:
|
$500 to @c3024 only |
@c3024 - please apply to the job below and I can complete the payment process tomorrow: https://www.upwork.com/jobs/~011e08e65659afcb69 Thanks! |
Payment Summary
BugZero Checklist (@alexpensify)
|
@c3024 - please accept in Upwork and I can complete the payment process. Thanks! |
@alexpensify accepted, thanks. |
Awesome, I've completed the payment process in Upwork. |
Coming from the Callstack performance audit
From the hermes profile trace, we see that
getOrderedReportIDs
fromSidebarlinks
takes about ~8 seconds and it happens in 3 occurrences. Which means we havegetOrderedReportIDs
being called for roughly 3 times. We can reduce it to 2 times only by adding memoization toSidebarlinks
. This reduces the app startup by ~2.5 seconds, which is a huge reduction.Details for the implementation can be seen in the commit
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alexpensifyThe text was updated successfully, but these errors were encountered: