React Native application get slow after enabling Hermes Engine

This issue has been created since 2022-11-13.

Description

React Native application get slow after enabling Hermes Engine

Version

0.69.7

Output of npx react-native info

info Fetching system and libraries information...
System:
OS: Windows 10 10.0.19042
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 3.72 GB / 15.80 GB
Binaries:
Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 11.0.16 - C:\Program Files\Eclipse Adoptium\jdk-11.0.16.8-hotspot\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: ^0.69.4 => 0.69.7
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Create application using official demo step by step.
Change
project.ext.react = [ enableHermes: false, // clean and rebuild if changing hermesCommand: '../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc', ]
into
project.ext.react = [ enableHermes: true, // clean and rebuild if changing hermesCommand: '../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc', ]

The application became very slow. The UI showed slowly.

Snack, code example, screenshot, or link to a repository

After enabling Hermes: https://cdn.kapwing.com/final_63706fb6f238a300250643ab_920899.gif

Before enabling Hermes: https://cdn.kapwing.com/final_63706eadda957601151f3c33_364532.gif

cortinico wrote this answer on 2022-11-25

I can't see the GIFs you sent @CHYHUI
Can you re-upload them?

CHYHUI wrote this answer on 2022-11-26

Before enabling Hermes
After enabling Hermes
@cortinico Thanks for your reply. Those are GIFs.

cortinico wrote this answer on 2022-11-28

Are you testing this in debug or release @CHYHUI ?

More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-12-10
Star Count 106395
Watcher Count 3660
Fork Count 22685
Issue Count 2288

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Ikeypoint 关键点层的输出与Detect层的合并错误??? 0 2022-11-04 2022-11-19
Indended behavior (and execption handling / warning) of repetitive calls to `set_ml_nuisance_params` 0 2021-04-12 2022-10-11
Speed adjustment not working 11 2021-12-15 2022-08-22
No progress tracking 13 2021-12-05 2022-08-22
Saving to Firestore fails for `None` values 2 2021-04-20 2022-11-22
DomainID or DomainName 1 2020-11-17 2022-11-30
Event Emitter methods missing (.once) and (.off) 8 2021-03-09 2022-12-02
Incorrect interaction with the bloc 2 2021-09-29 2022-09-09
time series convergenve 0 2021-01-27 2022-11-20
web dev blog post 3 2021-11-22 2021-12-22
WASM-4 Nim support 1 2021-11-23 2021-12-22
Submission: xidoc 0 2021-11-23 2021-12-22
Kombinator 2 2021-09-10 2021-12-22
Clarification on the scope of NO_COLOR 1 2021-05-18 2022-11-11
Develop a Casdoor plugin for APISIX 12 2022-01-16 2022-10-09
bigfish和antdpro有什么不一样? 2 2021-05-07 2022-11-22
Plugin requires button to be pushed on bridge every time HB restarts. 2 2021-04-27 2022-10-12
How can I manage state and bind event using craft.js 0 2022-05-31 2022-11-11
如何使用pre-trained embedding 10 2021-09-02 2022-09-19
Any support for "Native Overlay Diff"? 6 2021-07-08 2022-08-26
Only one locale/lang 2 2022-04-11 2022-12-03
Any log of uploaded files? 3 2022-05-10 2022-12-03
Getting "invalid transaction nonce" When Pausing a Contract 0 2021-10-27 2022-11-12
Question: Why are global variables handled different? 2 2021-02-08 2022-11-12
Dependency on camlp-streams makes atdgen-runtime unusable with OCaml < 5.00 3 2022-06-28 2022-11-23
latex error with /testcases/block/04_header/with_auto_ids.text 1 2022-10-12 2022-12-03
Recon options not working 4 2021-09-29 2022-10-31
Subtitle Edit crashes in Wine when mpv is used 0 2022-04-28 2022-11-29
[3.6.5] Bug: Coloring incorrectly 0 2022-05-02 2022-09-02
`pants changed` missed a target changed by a deleted file 1 2017-04-28 2022-12-09
V2 Bakery crash: robotmk-runner 0 2021-05-23 2022-09-22
Error while converting Alexa Skill into ACDL based skill, askx decompile command throws error 1 2021-09-23 2022-12-09
OAuth2 Application redirect URL with https, but it becomes http 5 2022-03-29 2022-11-05
Plugins type-detection - file-size: empty or invalid value 1 2021-05-03 2022-11-25
roachtest: follower-reads/survival=region/locality=regional/reads=bounded-staleness failed 14 2021-09-10 2022-11-19
nix build tries to write in nix store 5 2022-05-08 2022-11-27
SharedIndexInformer for Custom resource stuck in "Start listing and watching" stage in reflector runnable 18 2021-12-23 2022-12-02
Question on debugging the crashing 1 2019-05-17 2022-10-05
Docker desktop on M1 - qemu-system-aarch64 is running even when no arch64 container is running 5 2021-12-27 2022-11-08
Payload doesn't create 6 2018-02-25 2022-10-09
Detail Screen shows Grey screen 0 2021-10-03 2022-11-16
max open warning 5 2018-08-09 2022-01-14
Poor performance with a few hundred blocked dates 4 2022-01-10 2022-11-13
Cannot copy node link anymore 1 2022-08-30 2022-12-10
Wallet performance issue related to wei formatting 0 2022-06-09 2022-10-16
Calling Close() on WCF client channel times out on Mono Mac but works on Windows 1 2021-07-20 2022-12-03
resouce file in tar break some automated build 0 2021-12-20 2022-11-12
Testing Enhancements workflow 0 2022-07-26 2022-11-02
No module named 'packaging' when install horovod 5 2022-10-14 2022-12-02
Footer color is not a bool 2 2021-07-30 2022-10-14