Commit 4db64ace authored by Devon Carew's avatar Devon Carew

send debug events for flutter lifecycle events (#3903)

* send debug events for flutter lifecycle events

* remove the route event
parent baaa7a03
......@@ -56,6 +56,8 @@ abstract class BindingBase {
initServiceExtensions();
assert(_debugServiceExtensionsRegistered);
developer.postEvent('Flutter.FrameworkInitialization', <String, dynamic>{});
developer.Timeline.finishSync();
}
......
......@@ -208,6 +208,7 @@ abstract class WidgetsBinding extends BindingBase implements GestureBinding, Ren
if (_needToReportFirstFrame) {
if (_thisFrameWasUseful) {
developer.Timeline.instantSync('Widgets completed first useful frame');
developer.postEvent('Flutter.FirstFrame', <String, dynamic>{});
_needToReportFirstFrame = false;
} else {
_thisFrameWasUseful = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment