Commit c0821dd
committed
Pin react-native-onyx to perf branch HEAD (731fe957) for testing
Bumps react-native-onyx to elirangoshen/perf/mergeCollection-multiGet-prewarm
HEAD (731fe957), which stacks on top of Expensify#787 (cache-first
mergeCollectionWithPatches) and adds a cold-cache pre-warm optimization:
- Fast path (every existingKey is in cache): skip pre-warm entirely.
Preserves the original promise-chain depth so subscriber-callback
timing is unchanged for warm-cache merges (the common case).
- Slow path (any existingKey is a cache miss): use Storage.multiGet
to batch the missing keys into a single storage round-trip, instead
of N parallel Storage.getItem calls.
Net runtime effect: same correctness, fewer storage operations on
cold-cache merges, same broadcast timing for warm-cache merges.
This branch also drops the now-obsolete `react-native-onyx+3.0.73.patch`
(the canonical upstream revert it implemented landed in Onyx PR Expensify#785,
which is already part of the pinned SHA).
Not for merge -- branch is for performance verification only.1 parent e08f2d0 commit c0821dd
4 files changed
Lines changed: 6 additions & 81 deletions
File tree
- patches/react-native-onyx
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 3 | + | |
This file was deleted.
0 commit comments