Animated.View
takes excessive amount of time on first render
#6955
Labels
Animated.View
takes excessive amount of time on first render
#6955
Description
When loading a list of
Animated.View
s, the very firstAnimated.View
takes83ms
to render. Each followingAnimated.View
takes<0.1ms
to render. This issue only occurs on Android. It doesn't occur with regularView
, which takes4
-13ms
for it's first render, and<0.1ms
for it's following renders as well.Profile when using
Animated.View
:Profile when using
View
:Steps to reproduce
Run an empty example app on react >77, open profiler, use the following files:
App.tsx
code:Test.tsx
code withAnimated.View
:Test.tsx
code withView
:Snack or a link to a repository
Repro provided in
Steps to reproduce
section.Reanimated version
3.16.7
React Native version
0.77.0
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
Real device
Device model
Android
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: