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

Performance issue after Flutter 3.27 #146

Open
hasimyerlikaya opened this issue Dec 15, 2024 · 2 comments
Open

Performance issue after Flutter 3.27 #146

hasimyerlikaya opened this issue Dec 15, 2024 · 2 comments

Comments

@hasimyerlikaya
Copy link

After the Flutter 3.27 update, I noticed that my phone gets very hot during debugging.
I found out the problem is caused by an animation.

I use the flutter_animate package for animations, and I have a button with a shimmer effect.
When I activate the animation, CPU usage is increasing. When I disable it, everything seems fine.

To produce the issue, you can use this repo: flutter_debugging
The device is an iPhone Xs Max with iOS 18.1.1.

Have you ever noticed something like this?

debugging.1.mp4
@gskinner
Copy link
Owner

I've seen some reports of isolated performance issues in 3.27 unrelated to Animate, so this may just be an issue with that. Are you seeing any evidence of slow downs on a production build, or just when debugging?

@hasimyerlikaya
Copy link
Author

@gskinner Hi, I think it is just during the debugging. Flutter got a fix after I created this issue. I didn't test with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants