Skip to content

Failed to execute 'measure' on 'WorkerPerformance': The mark '757::componentWillMount' does not exist #11410

Closed
@jeremyong

Description

@jeremyong

Description

I am trying to use the ReactPerf tool in order to analyze DOM rendering performance and running to the following exception:

Failed to execute 'measure' on 'WorkerPerformance': The mark '757::componentWillMount' does not exist

The number 757 is variable.

Reproduction

Simply import the perf addon as in import Perf from 'react-native/Libraries/Renderer/src/renderers/shared/ReactPerf'; and then run Perf.start().

Solution

Ideally, Perf.start(), Perf.stop(), etc would work as advertised. It's very difficult to investigate rendering issues without it for more complex scenes.

Additional Information

  • React Native version: 0.39.1
  • Platform: Both
  • Operating System: MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions