Based on profiling flamegraph, it takes ~11ms to re-render ChatThreadListSidebar. If we have 4 ChatThreadListSidebars in the component tree re-rendering 5-6 times (as in "going to thread w/ varun scenario) that's ~220-264ms.
Depends on D9071
Differential D9072
[native] Add some memoization to `ChatThreadListSidebar` atul on Sep 1 2023, 3:58 PM. Authored by Tags None Referenced Files
Subscribers
Details Based on profiling flamegraph, it takes ~11ms to re-render ChatThreadListSidebar. If we have 4 ChatThreadListSidebars in the component tree re-rendering 5-6 times (as in "going to thread w/ varun scenario) that's ~220-264ms. Depends on D9071 Before: After:
Diff Detail
|