Skip to content

localStorageCollectionOptions performance issues #755

@jesper-bylund

Description

@jesper-bylund

I have an app with three collections, all using local storage, and I have massive performance issues.
Two examples that might have different root causes:
1 mutating text onChange causes massive slow downs (sort of reasonable)
2 rendering lists from localStorage causes jitters. This is more strange. When I switch to localOnlyCollectionOptions it's buttery smooth again.

1 I can sort of understand, even though localStorage should probably be able to do this 🤔
but 2 is surprising. Nothing is writing to local storage, so I'm only reading from it (using liveQuery) and rendering. And getting 20fps with just less than a hundred total objects rendered.

Anyone else having similar issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions