Add RAF tests to blink_perf.canvas benchmark.

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 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: I2fdd13af75615802266fa39a01db3e883f2c95bc
Reviewed-by: Ned Nguyen <>
Reviewed-by: Caleb Rouleau <>
Reviewed-by: Fernando Serboncini <>
Commit-Queue: Aaron Krajeski <>
Cr-Commit-Position: refs/heads/master@{#606849}
21 files changed