Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add memoryOnlyKeys setter option to Onyx #270

Merged
merged 3 commits into from
Jul 12, 2023
Merged

Conversation

marcaaron
Copy link
Contributor

@marcaaron marcaaron commented Jul 12, 2023

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
Contributor

Tested here: Expensify/App#22729 (comment)

@AndrewGable AndrewGable merged commit b15af82 into main Jul 12, 2023
3 checks passed
@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