Skip to content

Saving Sync Response Blocks Main Thread and Freezes UI #4961

@ajbura

Description

@ajbura

when saving sync response ui freezes for ~2.5 seconds

Image

call stack

1. doSync > save > syncToDatabase > doSyncToDatabase > getJSON > recursiveMapToObject (24ms and called multiple times by getJSON) => processMapToObjectValue => recursiveMapToObject ...

2. doSyncToDatabase > persistSyncData > promiseTry

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PerformanceO-UncommonMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions