-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading from v0.70.6 to v0.71.0 causing extremely slow debugging mode on Android #35828
Comments
We're experiencing the same issue, we upgraded from RN 0.70.1. |
+1 at least 2 to 4 seconds for any button to take action. I'm guessing it has something to do with forcing all libraries to use 0.71.0 since i can only launch the app if i've built with the following in app/build.gradle:
cause otherwise i would get the following error: couldn't find DSO to load: libjscexecutor.so Another thing that may or may not be the cause is that my project is still in javascript as i haven't moved to typescript as stated in 0.71.0 |
Oh, I spent so many time today thinking that one of my dependencies works wrong... Yeah, seems like this is React Native issue |
I am having the same issue after upgrading, It takes about 2-4 after pressing something to respond, and the whole application is slow. |
|
I want to add, that not only buttons (touchable) works slowly. UI updates on active screen are throttling. And what is interesting - React Navigation transition animations works fine. And ScrollView works fine. Perf monitor shows -2 FPS sometimes (whatever that means) |
Thanks for the issue report.
|
p.s. production build via |
I'm facing the same issue. On the bright side, everything is normal in the release apk. |
@inferusvv Does the issue happens also if you disable Hermes (there is a flag in the |
I am using Hermes and the blank react-native project works fine. |
@cortinico Without Hermes it works fine. I've set |
I can also confirm that once Hermes is disabled, it works fine. |
Thanks for the confirmation. We'll be releasing 0.71.1 sometime next week with the fix for this. I believe the version of Hermes that comes with 0.71.0 is coming with Hermes in Debug mode which is causing this. I'll publish an update on this issue once we have the point release out. For the time being you can either:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Thanks for your helpful thought. And yes, android is super throttled now |
for me too, I realized that version 0.71 is super throttled. When starting Metro, you already feel the lag. |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Hey @alabsi91 @inferusvv @muzhaqi16 So if you or anyone else could provide a reproducer, that would be greatly beneficial to verify this. |
as soon as maven publishes the artifacts, yeah... sadly there's some hiccup on their side so please keep an eye on #35904 |
ok artifacts are out now, 0.71.1 can be used and yes it should have the fix you need :) |
Can confirm it's been fixed on |
I also confirm that the hermes is already adjusted in android and everything is going smoothly. It was also adjusted that it did not automatically launch the android emulator but in this version |
perfect, closing! |
@AliZaib-Emumba I don't think the answer you're looking for is in this issue. This issue was caused by 0.71.0 which is resolved in 0.71.2. Your problem is probably different. |
Is there anyone to occuring still this issue? I'm on 0.71.3 and it's very slow on Android. |
@furkanuzundev are you sure that in 0.70.6 is not happening? |
@manosKas actually i didn't try on 0.70.6.I have updated from 0.67 to the latest version |
This comment was marked as off-topic.
This comment was marked as off-topic.
i'm same issue on 0.70.6, very slow navigation in tabs. I can't find a solution, and I already have |
my solution was update to version |
hermesEnabled=false I noticeably improved the performance of the app |
I was thinking like should we really use react-native for cross-platform app development anymore! |
0.71.4 has same issue |
0.71.8 has same issue |
I think it is an important bug of the library. The app is practically unbrowsable at times. |
|
@GuidoGagliardini @hassanannajjar Maybe |
Description
I recently upgraded my react-native project from version
0.70.6
to0.71.0
using theReact Native Upgrade Helper
and have noticed a significant decrease in performance when using the debugging mode. The app takes much longer to load and the debugging process is extremely slow, making it difficult to make any changes.Version
0.70.1
Output of
npx react-native info
System:
OS: Windows 10 10.0.22621
CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
Memory: 4.42 GB / 15.93 GB
Binaries:
Node: 18.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 31, 32, 33
Build Tools: 30.0.3, 31.0.0, 33.0.0
System Images: android-31 | Google Play Intel x86 Atom_64
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-213.7172.25.2113.9123335
Visual Studio: 17.4.33110.190 (Visual Studio Community 2022)
Languages:
Java: 11.0.17
npmPackages:
@react-native-community/cli: Not Found
react: ^18.2.0 => 18.2.0
react-native: ^0.71.0 => 0.71.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Upgrade react-native project from version 0.70.6 to 0.71.0
Run the app in debugging mode
Notice the slow performance and long loading time
Snack, code example, screenshot, or link to a repository
//
The text was updated successfully, but these errors were encountered: