![]() ![]() And for a native Android performance issue, a nice tool to use is Systrace. It's time to investigate what the problem is. Which means we definitely have some issues in our app! If you'd rather watch than read, you can also checkout the lightning talk I gave on the subject at React Summit 2021: If you see the UI thread going down a lot on Android, you're in the right place! I'll show you how I solved some issues in our app, using Systrace. ![]() If you see the JS thread going down a lot, checkout this great article by Louis to debug JS performance issues. ![]() If you're having performance issues in your app, one way to figure out if it's coming from the UI thread (so likely an issue on the native side) or the JS thread, you can simply use the Performance monitor, available out of the box in the development menu. ![]() JavaScript is driving the UI, so if it's not performing well, especially if it goes down to 0, your app will start to feel unresponsive. The UI thread should still run at 60fps, but you also want the JS thread to ideally not go under 60. In a React Native app, the UI is driven by the JS. Yes! But you also have to take into account the JS thread. Is this also valid for a React Native app?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |