• liyuqian's avatar
    Quickly fix start up tests (#37503) · 7f77f017
    liyuqian authored
    The hack here is to flush the timeline events so the host that
    waits for the 'Rasterized first useful frame' event won't hang.
    Previously 'Widgets built first useful frame' didn't cause this
    trouble because the GPU thread will naturally add more events later
    and cause a fresh. The `Rasterized...` event, however, is likely
    to be the last (or nearly the last) event during the app start up.
    
    rmacnak and I will figure out a better way to fix it next week.
    We're having this quick hack now to fix our device lab performance
    tests so we won't miss the data points.
    7f77f017
binding.dart 38 KB