Add RAF tests to blink_perf.canvas benchmark.
https://chromium-review.googlesource.com/c/chromium/src/+/1351501 has reverted some perf changes due to high-end mac laptops crashing. Re-add that CL piece by piece. This CL adds no new tests, only the RAF functionality. Current canvas benchmarks only measure CPU time. Using requestAnimationFrame (raf) in javascript we can measure CPU + raster + GPU time. This CL adds a mode to blink_perf.py that runs canvas all canvas test in a way that takes raster and GPU time into account. Roughly doubles the duration of `blink_perf.canvas` benchmark from ~2 minutes to ~4 minutes on a linux desktop. Bug: 894043 Change-Id: I50eeacbe47f3f3f0b09f1cb44806cabcad97dc2e Reviewed-on: https://chromium-review.googlesource.com/c/1352475 Commit-Queue: Caleb Rouleau <crouleau@chromium.org> Reviewed-by:Caleb Rouleau <crouleau@chromium.org> Cr-Commit-Position: refs/heads/master@{#611518}
Showing
Please register or sign in to comment