-
Notifications
You must be signed in to change notification settings - Fork 135
Description
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.