Skip to content

What profiling React Native in production means #498

@nitish24p

Description

@nitish24p

Introduction

React native has built a pretty decent ecosystem around tooling and profling an app in a debug / dev mode. We often end up using dev tools from react or a hermes profiles flame graphs to see how our app has performed. My question was is there something similar i can do to get some metrics about RN in production, for example see how the bridge calls perform, or how fast is performSynRoot, or the commit phase in RN in prod

Details

Discussion points

RN also provides a set of static markers https://github.com/facebook/react-native/blob/main/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactMarkerConstants.java I was wondering other than these is there any way to profile RN in production, where i collect some Bridge level or React side metrics and push them to a statsD / prometheus server.

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