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

Can't run release builds #60

Closed
being-yash-t opened this issue May 24, 2020 · 7 comments
Closed

Can't run release builds #60

being-yash-t opened this issue May 24, 2020 · 7 comments

Comments

@being-yash-t
Copy link

First thanks for providing flutter-pi it helps a lot.
As everyone of us know the difference in performance of flutter between release & debug mode.
I tried adding --release to the "flutter build bundle" and tried to run the app still was is debug mode, I also tried adding --release to the "flutter-pi my_project/build/flutter_assets" still can't figure out how to build/run in release mode.

@DisDis
Copy link
Contributor

DisDis commented May 24, 2020

It is working only for debug mode

@being-yash-t
Copy link
Author

It is working only for debug mode

Is it not possible to run it in release mode?

@DisDis
Copy link
Contributor

DisDis commented May 24, 2020

@being-yash-t
However it is working very fast and very smoothly in JIT mode. For example i im making photoframe (pi4 + 2560*1600px display). it work very fast.

@being-yash-t
Copy link
Author

@DisDis
Thank you for your reply. I was getting about 64°c or more and hardly around 30 fps on a rpi3, thats the reason why I wanted to get a release builds.
Anyways will close this issue here now.

@ardera
Copy link
Owner

ardera commented May 24, 2020

I was getting about 64°c or more and hardly around 30 fps on a rpi3, thats the reason why I wanted to get a release builds.

That's not normal. Last time I tried on my Pi 3 A+ I had 60fps. (in the default flutter create example. Don't know about flutter_gallery) I'll test again, maybe some update caused a performance regression.

@being-yash-t
Copy link
Author

being-yash-t commented May 24, 2020

I was getting about 64°c or more and hardly around 30 fps on a rpi3, thats the reason why I wanted to get a release builds.

That's not normal. Last time I tried on my Pi 3 A+ I had 60fps. (in the default flutter create example. Don't know about flutter_gallery) I'll test again, maybe some update caused a performance regression.

Yeah, its okay when it is less complex ui, I had to seprate some logic in different pages. Now getting accross 35-45fps & moved to 64bit kernel

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

3 participants