In the latest React Native release, the team at Meta announced that Hermes will be released bundled with React Native from now on. That is, with each new React Native release, Hermes engine will also be released.
These are performance metrics for MatterMost React Native application running on a Google Pixel. As you can see from the above image, TTI (Time to Interaction) is reduced by
2.29s, application size by
19 MB, and memory utilization by
49 MB. These few metrics improve the performance of the application drastically and must always be considered when developing an application in React Native.
Hermes, on the other hand, uses an ahead-of-time compiler that runs as a part of the mobile application build process. It creates and sends optimized, smaller bytecode for execution which reduces the start-up time.
To get rid of this confusion, the team at Meta came up with a solution of Bundled Hermes where a new Hermes will also be released with each React Native release.
Want to set up Hermes for your application? Refer this.
That’s it from this article. Stay tuned for more updates from True Sparrow.