facebook / facebook/hermes

Profile Hermes in React native app for Release / Production Builds

Open
#760 22 comments 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
11.3k
Forks
859
Avg merge
1h 30m
Merged PRs (30d)
3

Description

## Problem
The react native documentation provides a thorough explaination of how to profile RN hermes. However is it possible to do so for a production build, reason being the production build is optimised and minified and will have some __DEV__ checks which wont happen. Is there any way to profile hermes engine of a product / release apk,ipa of RN app. Thanks.

Im sorry if this is the wrong place to discuss this, i tried various channels, but didnt get much help reading online.

## Solution

I tried asking this question on Stack overflow https://stackoverflow.com/questions/72457957/cpu-profile-of-hermes-jsc-on-release-apk-of-react-native-app

Also tried reading for this online but wasnt able to get any help, hence wanted to know if this is possible, if so any pointers would helpl.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.