Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

One Question about this component #5

@silentbalanceyh

Description

@silentbalanceyh

I used react-router to do dynamic rendering here. But I found that this component printed wasted time each time when I clicked react-router that triggered @@router/LOCATION_CHANGE. It's perfect for us to know the performance issue of React. But when I triggered @@router/LOCATION_CHANGE twice, it seems that the wasted time increased. I repeat this operation one by one, found that all measurements increased time by time.
Question:

  1. Is there exist one way to calculate measurements for each when I click @@router/LOCATION_CHANGE, not accumulation measurements ?
  2. Please help to confirm this situation so that we could know more details about this component ?

Examples:
When I clicked Link many times, the wasted time show more than 30000ms, but my application showed page less than 200ms, that's why I thought this component calculate wasted time in accumulation mode here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions