HomePhabricator
Diffusion Comm 3df742db5cd1

[native] Memoize `ThreadAncestorsLabel`

Description

[native] Memoize ThreadAncestorsLabel

Summary:
Looking at the profiler flamegraph for the "navigate to thread w/ varun" flow, there are a lot of ThreadAncestorsLabel "slivers" that seem like they might be causing other things to re-render? Unfortunately the profiler isn't super clear so I'm kind of memoizing this on a whim tbh.


Depends on D9212

Test Plan: ThreadAncestorsLabel continues to look as expected.

Reviewers: ginsu, tomek, rohan

Reviewed By: rohan

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D9213

Details

Provenance
atulAuthored on Sep 14 2023, 7:31 PM
Reviewer
rohan
Differential Revision
D9213: [native] Memoize `ThreadAncestorsLabel`
Parents
rCOMM71cba72c91a3: [native] Bump `react-native` to `0.70.9`
Branches
Unknown
Tags
Unknown