Make VR latency results compatible with perf dashboard, refactor into classes

Desktop / Chromium - bsheedy [chromium.org] - 20 April 2017 17:35 EDT

Makes the following changes to the automated VR latency testing script:- Adds the functionality to save latency and correlation results in a format compatible with the Chrome performance dashboard- Refactors the code into separate classes and files for improved readability and to better support future Windows latency testing- Runs the test multiple times (default 10) to get an average and standard deviation

BUG=708747

Review-Url: https://codereview.chromium.org/2823883003 Cr-Commit-Position: refs/heads/master@{#466147}

a158481 Make VR latency results compatible with perf dashboard, refactor into classes
BUILD.gn | 2 +-
chrome/test/vr/perf/BUILD.gn | 20 ++
chrome/test/vr/perf/latency/BUILD.gn | 13 --
chrome/test/vr/perf/latency/__init__.py | 0
.../vr/perf/latency/android_webvr_latency_test.py | 135 +++++++++++
chrome/test/vr/perf/latency/motopho_thread.py | 83 +++++++
chrome/test/vr/perf/latency/robot_arm.py | 46 ++++
chrome/test/vr/perf/latency/run_latency_test.py | 255 ++++-----------------
chrome/test/vr/perf/latency/webvr_latency_test.py | 197 ++++++++++++++++
testing/buildbot/gn_isolate_map.pyl | 2 +-
10 files changed, 524 insertions(+), 229 deletions(-)

Upstream: git.chromium.org


  • Share