summary property

Map<String, dynamic> summary

Convert the summary result to a json object.

See TimelineSummary.summaryJson for detail.

Implementation

Map<String, dynamic> get summary => <String, dynamic>{
      'average_frame_build_time_millis':
          averageFrameBuildTime.inMicroseconds / 1E3,
      '90th_percentile_frame_build_time_millis':
          p90FrameBuildTime.inMicroseconds / 1E3,
      '99th_percentile_frame_build_time_millis':
          p99FrameBuildTime.inMicroseconds / 1E3,
      'worst_frame_build_time_millis':
          worstFrameBuildTime.inMicroseconds / 1E3,
      'missed_frame_build_budget_count': missedFrameBuildBudget,
      'average_frame_rasterizer_time_millis':
          averageFrameRasterizerTime.inMicroseconds / 1E3,
      '90th_percentile_frame_rasterizer_time_millis':
          p90FrameRasterizerTime.inMicroseconds / 1E3,
      '99th_percentile_frame_rasterizer_time_millis':
          p99FrameRasterizerTime.inMicroseconds / 1E3,
      'worst_frame_rasterizer_time_millis':
          worstFrameRasterizerTime.inMicroseconds / 1E3,
      'average_layer_cache_count': averageLayerCacheCount,
      '90th_percentile_layer_cache_count': p90LayerCacheCount,
      '99th_percentile_layer_cache_count': p99LayerCacheCount,
      'worst_layer_cache_count': worstLayerCacheCount,
      'average_layer_cache_memory': averageLayerCacheBytes / 1024.0 / 1024.0,
      '90th_percentile_layer_cache_memory': p90LayerCacheBytes / 1024.0 / 1024.0,
      '99th_percentile_layer_cache_memory': p99LayerCacheBytes / 1024.0 / 1024.0,
      'worst_layer_cache_memory': worstLayerCacheBytes / 1024.0 / 1024.0,
      'average_picture_cache_count': averagePictureCacheCount,
      '90th_percentile_picture_cache_count': p90PictureCacheCount,
      '99th_percentile_picture_cache_count': p99PictureCacheCount,
      'worst_picture_cache_count': worstPictureCacheCount,
      'average_picture_cache_memory': averagePictureCacheBytes / 1024.0 / 1024.0,
      '90th_percentile_picture_cache_memory': p90PictureCacheBytes / 1024.0 / 1024.0,
      '99th_percentile_picture_cache_memory': p99PictureCacheBytes / 1024.0 / 1024.0,
      'worst_picture_cache_memory': worstPictureCacheBytes / 1024.0 / 1024.0,
      'missed_frame_rasterizer_budget_count': missedFrameRasterizerBudget,
      'frame_count': frameBuildTime.length,
      'frame_build_times': frameBuildTime
          .map<int>((Duration datum) => datum.inMicroseconds)
          .toList(),
      'frame_rasterizer_times': frameRasterizerTime
          .map<int>((Duration datum) => datum.inMicroseconds)
          .toList(),
      'new_gen_gc_count': newGenGCCount,
      'old_gen_gc_count': oldGenGCCount,
    };