Skip to content

New React.Perf eats a lot of CPU. #6983

@niba

Description

@niba

After migration to React 15.1.0 I noticed that my application is running slower than usual. Quick debug with Chrome profiler shows that method purgeUnmountedComponents from ReactComponentTreeDevtool eats around 30% of my application time. On every mouse move or click method iterates over huge amount of elements. I don't know if that behaviour is desirable.

reactperfcpu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions