Skip to content
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

[Android] animation is really slow after upgrade to 0.76.2 #6710

Open
nazacity opened this issue Nov 15, 2024 · 9 comments
Open

[Android] animation is really slow after upgrade to 0.76.2 #6710

nazacity opened this issue Nov 15, 2024 · 9 comments
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@nazacity
Copy link

Description

new arch enabled
animation is really slow weird please see video below
it looks like it take many cpu to run animation

Screen.Recording.2567-11-15.at.18.17.21.mov

new arch disabled
animation is working fine

Screen.Recording.2567-11-15.at.18.10.54.mov

Steps to reproduce

Snack or a link to a repository

Reanimated version

3.16.1

React Native version

0.76.2

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

Android emulator

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Missing info The user didn't precise the problem enough labels Nov 15, 2024
Copy link

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Steps to reproduce and Snack or a link to a repository sections.

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Nov 15, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@doublelam
Copy link

doublelam commented Nov 20, 2024

it seems that rendering/setState will affect the animation, so when the animation starts you need to avoid setState or change props. (it happens only under New Architecture)

@nazacity
Copy link
Author

it seems that rendering/setState will affect the animation, so when the animation starts you need to avoid setState or change props. (it happens only under New Architecture)

Will it be fixed

@tjzel
Copy link
Collaborator

tjzel commented Nov 20, 2024

Hi @nazacity, I'm afraid that without a minimal reproduction we can't investigate that. Please provide one.

@nazacity
Copy link
Author

Hi @nazacity, I'm afraid that without a minimal reproduction we can't investigate that. Please provide one.

I'll try to create reproduction one

@mimo-10
Copy link

mimo-10 commented Dec 7, 2024

Will u create a reproduction, because it is a Serious problem, if you can't or u don't going, tell me I will reproduce it be cause it happens to me, for my case: fps in the old arch in the worst case gets 54 , in the new arch i could push it the 3 fps, (same reanimated implementation)

@nazacity
Copy link
Author

nazacity commented Dec 8, 2024

Will u create a reproduction, because it is a Serious problem, if you can't or u don't going, tell me I will reproduce it be cause it happens to me, for my case: fps in the old arch in the worst case gets 54 , in the new arch i could push it the 3 fps, (same reanimated implementation)

I'm trying but i'm still not abled to reproduce it.
Could u please help

@mimo-10
Copy link

mimo-10 commented Dec 9, 2024

Yes I will tomorrow morning, sorry I didn’t noticed that u responded. Beside that could I ask u, did u tried on iOS does it work normally their ¿ also you could send me a video with performance monitor on ? And thank u so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

4 participants