Skip to content

Add memoryOnlyKeys setter option to Onyx#270

Merged
AndrewGable merged 3 commits into
mainfrom
marcaaron-memoryOnlyKeys
Jul 12, 2023
Merged

Add memoryOnlyKeys setter option to Onyx#270
AndrewGable merged 3 commits into
mainfrom
marcaaron-memoryOnlyKeys

Conversation

@marcaaron

@marcaaron marcaaron commented Jul 12, 2023

Copy link
Copy Markdown
Contributor

Details

Guides continue to experience really bad performance that we now know is in part related to the IndexedDB code and the synchronous setting of each key one at a time. This is a performance improvement with smaller data sets, but ends up creating a ton of blocking time when these datasets are large.

Related Issues

Expensify/App#21766

Automated Tests

Since this is an opt-in behavior and bandaid solution for now I didn't write any tests.

Linked PRs

Expensify/App#22729

@marcaaron marcaaron self-assigned this Jul 12, 2023
@marcaaron marcaaron requested a review from a team as a code owner July 12, 2023 02:43
@melvin-bot melvin-bot Bot requested review from jasperhuangg and removed request for a team July 12, 2023 02:44
@AndrewGable AndrewGable requested review from AndrewGable and removed request for jasperhuangg July 12, 2023 03:28
@AndrewGable

Copy link
Copy Markdown
Contributor

Tested here: Expensify/App#22729 (comment)

@AndrewGable AndrewGable merged commit b15af82 into main Jul 12, 2023
@AndrewGable AndrewGable deleted the marcaaron-memoryOnlyKeys branch July 12, 2023 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants