In a demo, Horowitz showed that a React Native app with Hermes was fully loaded within half the time the same app without Hermes loaded, or about two seconds faster.
The benefits of Hermes can be seen via key metrics Facebook uses to keep users of its apps hooked, including time to interaction (TTI), the size of the app file (APK) that Android users need to download, and how much memory it uses on an Android device.
Horowitz boasted Hermes also cuts the APK size to half the 41MB of a stock React Native app, and shaves off a quarter of the app’s memory usage.
In other words, with Hermes developers can get users interacting with an app faster with fewer obstacles like slow download times and constraints caused by multiple apps sharing limited memory resources, especially on lower-end phones.
And these are exactly the phones Facebook is aiming at with Hermes, compared to the fancy flagships that well-paid developers typically use themselves.
“As developers we tend to carry the latest flagship devices. Most users around the world don’t,” he said. “Commonly used Android devices have less memory and less storage than the newest phones and much less than a desktop. This is especially true outside of the United States. Mobile flash is also relatively slow, leading to high I/O latency.”
“We’re not trying to compete in the browser space or the server space. Hermes could in theory could be for those kinds of use cases, that’s never been our goal.”
In the future Facebook intends to extend support to Microsoft’s VS Code.
- Google open sources 'Protocol Buffers'
- Best of Open Source Software Awards 2009
- Moblin: a First Look At Intel's Open-Source OS
- Open Source and SaaS Offerings Rethink the DB
- Google's new mantra: Making the Web a better platform for all
- AIM, Meet Yahoo: 8 Apps Help You Chat Across IM Services
- Oracle girds MySQL for heavier Web usage
- Internet Explorer 9 beta review: Microsoft reinvents the browser
- IE8 focuses on usability