-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Release build much slower than debug build when running on isolates with Command.executeThread() on Android #660
Comments
By further testing I noticed that even if not running in isolates, by changing |
This kinda feels like a Dart issue, I'm not sure what I'd be able to do about it. It must be hitting some performance penalty case for Dart release optimizations. I agree it's a terrible performance loss, and completely backwards to what you would expect. |
Do you think it is related to this flutter issue: flutter/flutter#140351 ? As discussed in that issue, the usage of |
I can take a look at num usage when I get a chance. |
I suspect there is is something similar going on, but I don't know if it's num causing the performance hit with the AOT release build. num isn't used in the decoders and encoders. |
The following simple code runs much slower in release build than in debug build on Android:
The text was updated successfully, but these errors were encountered: