-
Our team has found that the performance on the new architecture is not on par with the old one when a text heavy screen is mounted on the navigation stack. I have a reproducible example where I ran the tests. Here's a spreadsheet with the results. The raw data for the results can be found here. The following results are from a release version of the app using an iPhone 12 Pro Max. Results (times in ms)
Non Virtualized (times in ms)
Virtualized (times in ms)
Here's a video of the test performed: Each test was performed 10 times and the results in the spreadsheet are the average of the events. Reproductionhttps://github.com/alfonsocj/new-arch-perf-example The results seem to be similar to previous discussions #88, #85 where heavy text screens seem to perform better on the old architecture, even though those tests were performed on Android builds. I created an issue on React Navigation since it could be related react-navigation/react-navigation#11054. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Thanks for sharing this @alfonsocj. Have you engaged with folks on React Navigation by any chance? |
Beta Was this translation helpful? Give feedback.
-
An update, I tested on my playground app without React Navigation and I still see a considerable performance regression when there are a lot of nodes, so we can discard the idea of React Navigation causing the performance issue. |
Beta Was this translation helpful? Give feedback.
-
Hello! @cortinico any progress/updates on this issue? |
Beta Was this translation helpful? Give feedback.
-
Hello @alfonsocj, we spent some time analysing performance and summarised our findings in #123. Could you please try to run your benchmarks on the 0.72.0-RC.1 and see what the performance is like? We've made some improvements. |
Beta Was this translation helpful? Give feedback.
Hello @alfonsocj,
we spent some time analysing performance and summarised our findings in #123.
Could you please try to run your benchmarks on the 0.72.0-RC.1 and see what the performance is like? We've made some improvements.