Tuesday 26 March 2024

React Native Performance: How to Profile the Hermes JS Engine

Today, we came across an React Native Performance Tool react-native-release-profiler , While listening the CallStack Performance Optimization Technique Webinars. 

Callstack Performance Optimization Recording Webinar

React-Native-Release-Profiler 


As per Github Docs, It is a simple library to passively profile JS/Hermes performance in production and release builds.

Usually performance issues are profiled in debug builds, which could lead to false positives (e.g. JS Garbage Collectors, Hermes-specific debug markers, or other LLDB hangs).


react-native-release-profiler allows you to profile your app in release builds, both in a local environment to profile specific issues, as well as in a production environment to spot regressions or collect performance samples from a wider variety of user devices.


For Installation and code usage, Please refer the below GitHub Link and Issues


https://github.com/margelo/react-native-release-profiler


https://github.com/facebook/hermes/issues/760

No comments:

Post a Comment