• William Hesse's avatar
    Fix divide-by-zero crash in animation_bench benchmark (#137539) · 4d0c487f
    William Hesse authored
    If the benchmark runs out of time before it closes the drawer it is animating, it tries to divide by zero when computing the time per frame.
    
    Don't report time per frame for activities with zero frames. This likely only happens for the close frame action, but guards are added to all time per frame computations in this benchmark.
    4d0c487f
animation_bench.dart 3.71 KB