flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.34k stars 27.53k forks source link

Compute total GC time wherever we compute new/old GC metrics #108049

Open dnfield opened 2 years ago

dnfield commented 2 years ago

@jonahwilliams says we have this, but at least in the benchmark run I'm looking at I only see the GC counts and not the time. We should make sure that we get the total runtimes.

@a-siva FYI if you have further input

See https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android%20opacity_peephole_opacity_of_grid_perf__e2e_summary/2528/overview and specifically https://storage.googleapis.com/flutter_logs/flutter/81300293747d258587008c01f3a858275773006c/opacity_peephole_opacity_of_grid_perf__e2e_summary/01de952f-a9fb-4a52-a486-6d465dc5f872/e2e_perf_summary.json which has the GC counts but no times. That is further compounded by that benchmark not producing a full timeline, which is tracked in https://github.com/flutter/flutter/issues/108046

dnfield commented 2 years ago

Desired end state:

Here are locations where we're doing something close to this: