totalStartupDuration property

Duration? get totalStartupDuration

Duration from T0 (Dart widget inserted) to T5 (page finished), or null if either milestone is missing.

Implementation

Duration? get totalStartupDuration {
  final t0 = _epochFor('T0_flutter_widget_inserted');
  final t5 = _epochFor('T5_page_finished');
  if (t0 == null || t5 == null) return null;
  return Duration(milliseconds: t5 - t0);
}