-
Notifications
You must be signed in to change notification settings - Fork 23
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
Enable leak tracking for release mode. #25
Comments
I believe this would be very helpful for release builds as well, so people can upload their leaks to error reporting tools such as sentry.io and fix them. |
Could be useful for edge cases with special releases on beta channel. Would be good to add an |
I assume this is for |
Thanks. Yes, it is just counter. VM service connection is not needed as the diagnostics will be saved and analyzed offline. Can we plan implementing this? Should I transfer the issue to VM repo? |
I vote for it, if the performance drop is minimal in release mode. More sanity checks never do any harm (as long as they do not affect performance)! |
I agree with this comment. |
The feature is unblocked, but not implemented yet, and not part of leak_tracker MVP. |
We have turned the reachability barrier on in product mode, why do you say it is not implemented yet? |
Issue title is 'Enable leak_tracker...'. I need to update leak_tracker |
@itsjustkevin, I am reopening the issue: while reachability barrier is now available in release mode (thank you!!!), leak tracker is still off for release mode. |
I do not think we should make this an option unless we have significant profiling data to support it. In particular, we should have profiling data from a mid-tier Android device that shows this has little to no impact on frame/raster times. The profiling data we do have so far from macOS desktop applications suggests that it would. |
I agree. Most likely in release mode leak analysis and reporting should happen not on timer, but on request from application, when application is known to be in stale state. |
Subtasks:
reachabilityBarrier
(packagedart:developer
) available in release mode: https://github.com/itsjustkevin/sdk/commit/08b76a50fc138a94a5460f321500911b666eada1If you are interested in leak tracking in release mode, please, upvote this issue and justify your case.
The text was updated successfully, but these errors were encountered: