Coming from the Callstack performance audit
From the hermes profile trace, we see that getOrderedReportIDs from Sidebarlinks takes about ~8 seconds and it happens in 3 occurrences. Which means we have getOrderedReportIDs being called for roughly 3 times. We can reduce it to 2 times only by adding memoization to Sidebarlinks . 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
- Upwork Job URL: https://www.upwork.com/jobs/~011e08e65659afcb69
- Upwork Job ID: 1772400240247611392
- Last Price Increase: 2024-03-25
Issue Owner
Current Issue Owner: @alexpensify
Coming from the Callstack performance audit
From the hermes profile trace, we see that
getOrderedReportIDsfromSidebarlinkstakes about ~8 seconds and it happens in 3 occurrences. Which means we havegetOrderedReportIDsbeing 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: @alexpensify