Skip to content

Potential performance issue #302

@tylerlong

Description

@tylerlong

I tried to create a jest snapshot, and the snapshot turned out to be extremely large.

A typical snapshot size ranges from 100 to 1000 lines, while this widget's snapshot is as large as 700,000 lines. That is 1000 times typical size. I am afraid that it will cause serious performance issues.

How to reproduce: get latest code of this PR: #296 and run yarn test. Then check the snapshot in test/__snapshots__/.

Update: I have updated the code to remove the snapshot generation because it caused the tests stuck. If you have problem reproduce this issue please let me know.

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