Skip to content

Idea: Monitor for React Perf #45

@gaearon

Description

@gaearon

React has perf method to measure wasted renders. Idea: a monitor that calls React.addons.Perf.start() and stop() before and after replaying staged actions, and shows the results in table. Every time you hot reload components, it would do this again, so you see how your changes are affecting performance.

I'm not sure it's easy to implement as is, because React Hot Loader won't tell you if hot reload has happened when the component handled it, but it's something we want to consider in the future.

Thansk @winkler1 for the tip.

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